Plugin Directory

Changeset 1511117


Ignore:
Timestamp:
10/09/2016 02:09:11 PM (9 years ago)
Author:
bseddon
Message:

Prevent the close button event taking the default action

File:
1 edited

Legend:

Unmodified
Added
Removed
  • responsive-thickbox/trunk/assets/js/responsive-thickbox-admin.js

    r1510354 r1511117  
    6060
    6161        productList: function() {
    62             $( '#product-list-close button' ).on( 'click', function(e) {
    63                
     62            $( '#product-list-close button' ).on( 'click', function(e)
     63            {
     64                e.preventDefault();
    6465                $( '#product-list-close').closest('td').hide();
    65 
    6666            } );
    6767        },
Note: See TracChangeset for help on using the changeset viewer.