Ticket #42001: 42001.patch
File 42001.patch, 915 bytes (added by , 7 years ago) |
---|
-
widgets.js
38 38 selectSidebar = chooser.find('.widgets-chooser-sidebars'), 39 39 sidebars = $('div.widgets-sortables'), 40 40 isRTL = !! ( 'undefined' !== typeof isRtl && isRtl ); 41 41 $('div.widget').click(function() { 42 $('div.widget').css('z-index', '99' ); 43 $(this).css('z-index', '100' ); 44 }); 42 45 // Handle the widgets containers in the right column. 43 46 $( '#widgets-right .sidebar-name' ) 44 47 /* … … 123 126 124 127 $(document.body).bind('click.widgets-toggle', function(e) { 125 128 var target = $(e.target), 126 css = { 'z-index': 100 },129 css = {'z-index': 99 }, 127 130 widget, inside, targetWidth, widgetWidth, margin, saveButton, widgetId, 128 131 toggleBtn = target.closest( '.widget' ).find( '.widget-top button.widget-action' ); 129 132