equal
deleted
inserted
replaced
17 return $(this).text(); |
17 return $(this).text(); |
18 }, |
18 }, |
19 buttons: function( event, t ) { |
19 buttons: function( event, t ) { |
20 var button = $('<a class="close" href="#"></a>').text( wp.i18n.__( 'Dismiss' ) ); |
20 var button = $('<a class="close" href="#"></a>').text( wp.i18n.__( 'Dismiss' ) ); |
21 |
21 |
22 return button.bind( 'click.pointer', function(e) { |
22 return button.on( 'click.pointer', function(e) { |
23 e.preventDefault(); |
23 e.preventDefault(); |
24 t.element.pointer('close'); |
24 t.element.pointer('close'); |
25 }); |
25 }); |
26 }, |
26 }, |
27 position: 'top', |
27 position: 'top', |