Make WordPress Core

Ticket #19361: 19361.patch

File 19361.patch, 587 bytes (added by SergeyBiryukov, 12 years ago)
  • wp-includes/js/wp-pointer.dev.js

     
    1616                                var close  = ( wpPointerL10n ) ? wpPointerL10n.dismiss : 'Dismiss',
    1717                                        button = $('<a class="close" href="#">' + close + '</a>');
    1818
    19                                 return button.bind( 'click.pointer', function() {
     19                                return button.bind( 'click.pointer', function( e ) {
    2020                                        t.element.pointer('close');
     21                                        e.preventDefault();
    2122                                });
    2223                        },
    2324                        position: 'top',