Ticket #42001: 42001-v1.patch
File 42001-v1.patch, 916 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/js/widgets.js
39 39 sidebars = $('div.widgets-sortables'), 40 40 isRTL = !! ( 'undefined' !== typeof isRtl && isRtl ); 41 41 42 $('div.widget').click(function() { 43 $('div.widget').css('z-index', '99' ); 44 $(this).css('z-index', '100' ); 45 }); 46 42 47 $('#widgets-right .sidebar-name').click( function() { 43 48 var $this = $(this), 44 49 $wrap = $this.closest('.widgets-holder-wrap'); … … 93 98 94 99 $(document.body).bind('click.widgets-toggle', function(e) { 95 100 var target = $(e.target), 96 css = { 'z-index': 100},101 css = { }, 97 102 widget, inside, targetWidth, widgetWidth, margin, saveButton, widgetId, 98 103 toggleBtn = target.closest( '.widget' ).find( '.widget-top button.widget-action' ); 99 104