mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 14:31:58 +02:00
Merge pull request #3161 from yariplus/patch-1
Fix specificity on ACP widget panel heading.
This commit is contained in:
@@ -58,9 +58,9 @@ define('admin/extend/widgets', function() {
|
||||
panel.remove();
|
||||
}
|
||||
});
|
||||
}).on('mouseup', '.panel-heading', function(evt) {
|
||||
if ( !( $(this).parents('.widget-panel').is('.ui-sortable-helper') || $(evt.target).closest('.delete-widget').length ) ) {
|
||||
$(this).parents('.widget-panel').children('.panel-body').toggleClass('hidden');
|
||||
}).on('mouseup', '> .panel > .panel-heading', function(evt) {
|
||||
if ( !( $(this).parent().is('.ui-sortable-helper') || $(evt.target).closest('.delete-widget').length ) ) {
|
||||
$(this).parent().children('.panel-body').toggleClass('hidden');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user