Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
asiafoodco.com /
wp-admin /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
widgets
[ DIR ]
drwxr-x---
2025-11-08 11:17
accordion.js
2.85
KB
-rwxr-x---
2018-05-03 11:31
accordion.min.js
830
B
-rwxr-x---
2021-04-15 22:37
bookmarklet.js
3.86
KB
-rwxr-x---
2018-05-03 11:31
bookmarklet.min.js
1.98
KB
-rwxr-x---
2021-04-15 22:37
color-picker.js
5.34
KB
-rwxr-x---
2018-05-03 11:31
color-picker.min.js
3
KB
-rwxr-x---
2021-04-15 22:37
comment.js
1.99
KB
-rwxr-x---
2018-05-03 11:31
comment.min.js
1.2
KB
-rwxr-x---
2021-04-15 22:37
common.js
27.91
KB
-rwxr-x---
2018-05-03 11:31
common.min.js
13.61
KB
-rwxr-x---
2021-04-15 22:37
custom-background.js
2.23
KB
-rwxr-x---
2020-10-29 21:38
custom-background.min.js
1.13
KB
-rwxr-x---
2021-04-15 22:37
custom-header.js
1.47
KB
-rwxr-x---
2018-05-03 11:31
customize-controls.js
162.44
KB
-rwxr-x---
2018-05-03 11:32
customize-controls.min.js
62.71
KB
-rwxr-x---
2021-04-15 22:37
customize-nav-menus.js
96.47
KB
-rwxr-x---
2025-09-30 22:59
customize-nav-menus.min.js
42.59
KB
-rwxr-x---
2025-09-30 22:59
customize-widgets.js
68.35
KB
-rwxr-x---
2018-05-03 11:32
customize-widgets.min.js
27.21
KB
-rwxr-x---
2021-04-15 22:37
dashboard.js
16.15
KB
-rwxr-x---
2018-05-03 11:32
dashboard.min.js
6.78
KB
-rwxr-x---
2021-04-15 22:37
edit-comments.js
27.08
KB
-rwxr-x---
2018-05-03 11:32
edit-comments.min.js
14.3
KB
-rwxr-x---
2021-04-15 22:37
editor-expand.js
32.62
KB
-rwxr-x---
2018-05-03 11:32
editor-expand.min.js
13.04
KB
-rwxr-x---
2021-04-15 22:37
editor.js
19.52
KB
-rwxr-x---
2018-05-03 11:32
editor.min.js
7.97
KB
-rwxr-x---
2021-04-15 22:37
farbtastic.js
7.51
KB
-rwxr-x---
2018-05-03 11:32
gallery.js
5.42
KB
-rwxr-x---
2018-05-03 11:32
gallery.min.js
3.68
KB
-rwxr-x---
2021-04-15 22:37
image-edit.js
27.79
KB
-rwxr-x---
2018-05-03 11:32
image-edit.min.js
9.37
KB
-rwxr-x---
2021-04-15 22:37
inline-edit-post.js
15.92
KB
-rwxr-x---
2018-05-03 11:32
inline-edit-post.min.js
6.99
KB
-rwxr-x---
2021-04-15 22:37
inline-edit-tax.js
7.3
KB
-rwxr-x---
2018-05-03 11:32
inline-edit-tax.min.js
2.67
KB
-rwxr-x---
2021-04-15 22:37
iris.min.js
23.05
KB
-rwxr-x---
2018-05-03 11:32
language-chooser.js
625
B
-rwxr-x---
2018-05-03 11:32
language-chooser.min.js
374
B
-rwxr-x---
2021-04-15 22:37
link.js
2.19
KB
-rwxr-x---
2018-05-03 11:32
link.min.js
1.6
KB
-rwxr-x---
2021-04-15 22:37
media-gallery.js
1.24
KB
-rwxr-x---
2020-10-29 21:38
media-gallery.min.js
578
B
-rwxr-x---
2021-04-15 22:37
media-upload.js
1.94
KB
-rwxr-x---
2018-05-03 11:32
media-upload.min.js
1.1
KB
-rwxr-x---
2021-04-15 22:37
media.js
2.91
KB
-rwxr-x---
2018-05-03 11:32
media.min.js
1.83
KB
-rwxr-x---
2021-04-15 22:37
nav-menu.js
41.56
KB
-rwxr-x---
2025-09-30 22:59
nav-menu.min.js
20.39
KB
-rwxr-x---
2025-09-30 22:59
password-strength-meter.js
2.35
KB
-rwxr-x---
2018-05-03 11:32
password-strength-meter.min.js
745
B
-rwxr-x---
2021-04-15 22:37
plugin-install.js
6.12
KB
-rwxr-x---
2018-05-03 11:32
plugin-install.min.js
2.23
KB
-rwxr-x---
2021-04-15 22:37
post.js
36.53
KB
-rwxr-x---
2018-05-03 11:32
post.min.js
17.76
KB
-rwxr-x---
2021-04-15 22:37
postbox.js
11.63
KB
-rwxr-x---
2018-05-03 11:32
postbox.min.js
4.05
KB
-rwxr-x---
2021-04-15 22:37
press-this.js
25.17
KB
-rwxr-x---
2018-05-03 11:32
press-this.min.js
10.8
KB
-rwxr-x---
2021-04-15 22:37
revisions.js
32.96
KB
-rwxr-x---
2018-05-03 11:32
revisions.min.js
17.42
KB
-rwxr-x---
2021-04-15 22:37
set-post-thumbnail.js
777
B
-rwxr-x---
2018-05-03 11:32
set-post-thumbnail.min.js
525
B
-rwxr-x---
2021-04-15 22:37
svg-painter.js
5.36
KB
-rwxr-x---
2018-05-03 11:32
svg-painter.min.js
2.29
KB
-rwxr-x---
2021-04-15 22:37
tags-box.js
6.69
KB
-rwxr-x---
2018-05-03 11:32
tags-box.min.js
3.04
KB
-rwxr-x---
2021-04-15 22:37
tags-suggest.js
5.07
KB
-rwxr-x---
2018-05-03 11:32
tags-suggest.min.js
2.04
KB
-rwxr-x---
2021-04-15 22:37
tags.js
2.74
KB
-rwxr-x---
2018-05-03 11:32
tags.min.js
1.62
KB
-rwxr-x---
2021-04-15 22:37
theme.js
51.66
KB
-rwxr-x---
2018-05-03 11:32
theme.min.js
25.11
KB
-rwxr-x---
2021-04-15 22:37
updates.js
77.25
KB
-rwxr-x---
2018-05-03 11:32
updates.min.js
33.64
KB
-rwxr-x---
2021-04-15 22:37
user-profile.js
12.24
KB
-rwxr-x---
2018-05-03 11:32
user-profile.min.js
6.14
KB
-rwxr-x---
2021-04-15 22:37
user-suggest.js
1.04
KB
-rwxr-x---
2018-05-03 11:32
user-suggest.min.js
657
B
-rwxr-x---
2021-04-15 22:37
widgets.js
17.49
KB
-rwxr-x---
2018-05-03 11:32
widgets.min.js
10.04
KB
-rwxr-x---
2021-04-15 22:37
word-count.js
7.58
KB
-rwxr-x---
2018-05-03 11:32
word-count.min.js
1.46
KB
-rwxr-x---
2021-04-15 22:37
xfn.js
628
B
-rwxr-x---
2018-05-03 11:32
xfn.min.js
441
B
-rwxr-x---
2021-04-15 22:37
Save
Rename
/*global ajaxurl, isRtl */ var wpWidgets; (function($) { var $document = $( document ); wpWidgets = { /** * A closed Sidebar that gets a Widget dragged over it. * * @var element|null */ hoveredSidebar: null, init : function() { var rem, the_id, self = this, chooser = $('.widgets-chooser'), selectSidebar = chooser.find('.widgets-chooser-sidebars'), sidebars = $('div.widgets-sortables'), isRTL = !! ( 'undefined' !== typeof isRtl && isRtl ); $('#widgets-right .sidebar-name').click( function() { var $this = $(this), $wrap = $this.closest('.widgets-holder-wrap'); if ( $wrap.hasClass('closed') ) { $wrap.removeClass('closed'); $this.parent().sortable('refresh'); } else { $wrap.addClass('closed'); } $document.triggerHandler( 'wp-pin-menu' ); }); $('#widgets-left .sidebar-name').click( function() { $(this).closest('.widgets-holder-wrap').toggleClass('closed'); $document.triggerHandler( 'wp-pin-menu' ); }); $(document.body).bind('click.widgets-toggle', function(e) { var target = $(e.target), css = { 'z-index': 100 }, widget, inside, targetWidth, widgetWidth, margin, toggleBtn = target.closest( '.widget' ).find( '.widget-top button.widget-action' ); if ( target.parents('.widget-top').length && ! target.parents('#available-widgets').length ) { widget = target.closest('div.widget'); inside = widget.children('.widget-inside'); targetWidth = parseInt( widget.find('input.widget-width').val(), 10 ), widgetWidth = widget.parent().width(); if ( inside.is(':hidden') ) { if ( targetWidth > 250 && ( targetWidth + 30 > widgetWidth ) && widget.closest('div.widgets-sortables').length ) { if ( widget.closest('div.widget-liquid-right').length ) { margin = isRTL ? 'margin-right' : 'margin-left'; } else { margin = isRTL ? 'margin-left' : 'margin-right'; } css[ margin ] = widgetWidth - ( targetWidth + 30 ) + 'px'; widget.css( css ); } /* * Don't change the order of attributes changes and animation: * it's important for screen readers, see ticket #31476. */ toggleBtn.attr( 'aria-expanded', 'true' ); inside.slideDown( 'fast', function() { widget.addClass( 'open' ); }); } else { /* * Don't change the order of attributes changes and animation: * it's important for screen readers, see ticket #31476. */ toggleBtn.attr( 'aria-expanded', 'false' ); inside.slideUp( 'fast', function() { widget.attr( 'style', '' ); widget.removeClass( 'open' ); }); } e.preventDefault(); } else if ( target.hasClass('widget-control-save') ) { wpWidgets.save( target.closest('div.widget'), 0, 1, 0 ); e.preventDefault(); } else if ( target.hasClass('widget-control-remove') ) { wpWidgets.save( target.closest('div.widget'), 1, 1, 0 ); e.preventDefault(); } else if ( target.hasClass('widget-control-close') ) { widget = target.closest('div.widget'); widget.removeClass( 'open' ); toggleBtn.attr( 'aria-expanded', 'false' ); wpWidgets.close( widget ); e.preventDefault(); } else if ( target.attr( 'id' ) === 'inactive-widgets-control-remove' ) { wpWidgets.removeInactiveWidgets(); e.preventDefault(); } }); sidebars.children('.widget').each( function() { var $this = $(this); wpWidgets.appendTitle( this ); if ( $this.find( 'p.widget-error' ).length ) { $this.find( '.widget-action' ).trigger( 'click' ).attr( 'aria-expanded', 'true' ); } }); $('#widget-list').children('.widget').draggable({ connectToSortable: 'div.widgets-sortables', handle: '> .widget-top > .widget-title', distance: 2, helper: 'clone', zIndex: 100, containment: '#wpwrap', refreshPositions: true, start: function( event, ui ) { var chooser = $(this).find('.widgets-chooser'); ui.helper.find('div.widget-description').hide(); the_id = this.id; if ( chooser.length ) { // Hide the chooser and move it out of the widget $( '#wpbody-content' ).append( chooser.hide() ); // Delete the cloned chooser from the drag helper ui.helper.find('.widgets-chooser').remove(); self.clearWidgetSelection(); } }, stop: function() { if ( rem ) { $(rem).hide(); } rem = ''; } }); /** * Opens and closes previously closed Sidebars when Widgets are dragged over/out of them. */ sidebars.droppable( { tolerance: 'intersect', /** * Open Sidebar when a Widget gets dragged over it. * * @param event */ over: function( event ) { var $wrap = $( event.target ).parent(); if ( wpWidgets.hoveredSidebar && ! $wrap.is( wpWidgets.hoveredSidebar ) ) { // Close the previous Sidebar as the Widget has been dragged onto another Sidebar. wpWidgets.closeSidebar( event ); } if ( $wrap.hasClass( 'closed' ) ) { wpWidgets.hoveredSidebar = $wrap; $wrap.removeClass( 'closed' ); } $( this ).sortable( 'refresh' ); }, /** * Close Sidebar when the Widget gets dragged out of it. * * @param event */ out: function( event ) { if ( wpWidgets.hoveredSidebar ) { wpWidgets.closeSidebar( event ); } } } ); sidebars.sortable({ placeholder: 'widget-placeholder', items: '> .widget', handle: '> .widget-top > .widget-title', cursor: 'move', distance: 2, containment: '#wpwrap', tolerance: 'pointer', refreshPositions: true, start: function( event, ui ) { var height, $this = $(this), $wrap = $this.parent(), inside = ui.item.children('.widget-inside'); if ( inside.css('display') === 'block' ) { ui.item.removeClass('open'); ui.item.find( '.widget-top button.widget-action' ).attr( 'aria-expanded', 'false' ); inside.hide(); $(this).sortable('refreshPositions'); } if ( ! $wrap.hasClass('closed') ) { // Lock all open sidebars min-height when starting to drag. // Prevents jumping when dragging a widget from an open sidebar to a closed sidebar below. height = ui.item.hasClass('ui-draggable') ? $this.height() : 1 + $this.height(); $this.css( 'min-height', height + 'px' ); } }, stop: function( event, ui ) { var addNew, widgetNumber, $sidebar, $children, child, item, $widget = ui.item, id = the_id; // Reset the var to hold a previously closed sidebar. wpWidgets.hoveredSidebar = null; if ( $widget.hasClass('deleting') ) { wpWidgets.save( $widget, 1, 0, 1 ); // delete widget $widget.remove(); return; } addNew = $widget.find('input.add_new').val(); widgetNumber = $widget.find('input.multi_number').val(); $widget.attr( 'style', '' ).removeClass('ui-draggable'); the_id = ''; if ( addNew ) { if ( 'multi' === addNew ) { $widget.html( $widget.html().replace( /<[^<>]+>/g, function( tag ) { return tag.replace( /__i__|%i%/g, widgetNumber ); }) ); $widget.attr( 'id', id.replace( '__i__', widgetNumber ) ); widgetNumber++; $( 'div#' + id ).find( 'input.multi_number' ).val( widgetNumber ); } else if ( 'single' === addNew ) { $widget.attr( 'id', 'new-' + id ); rem = 'div#' + id; } wpWidgets.save( $widget, 0, 0, 1 ); $widget.find('input.add_new').val(''); $document.trigger( 'widget-added', [ $widget ] ); } $sidebar = $widget.parent(); if ( $sidebar.parent().hasClass('closed') ) { $sidebar.parent().removeClass('closed'); $children = $sidebar.children('.widget'); // Make sure the dropped widget is at the top if ( $children.length > 1 ) { child = $children.get(0); item = $widget.get(0); if ( child.id && item.id && child.id !== item.id ) { $( child ).before( $widget ); } } } if ( addNew ) { $widget.find( '.widget-action' ).trigger( 'click' ); } else { wpWidgets.saveOrder( $sidebar.attr('id') ); } }, activate: function() { $(this).parent().addClass( 'widget-hover' ); }, deactivate: function() { // Remove all min-height added on "start" $(this).css( 'min-height', '' ).parent().removeClass( 'widget-hover' ); }, receive: function( event, ui ) { var $sender = $( ui.sender ); // Don't add more widgets to orphaned sidebars if ( this.id.indexOf('orphaned_widgets') > -1 ) { $sender.sortable('cancel'); return; } // If the last widget was moved out of an orphaned sidebar, close and remove it. if ( $sender.attr('id').indexOf('orphaned_widgets') > -1 && ! $sender.children('.widget').length ) { $sender.parents('.orphan-sidebar').slideUp( 400, function(){ $(this).remove(); } ); } } }).sortable( 'option', 'connectWith', 'div.widgets-sortables' ); $('#available-widgets').droppable({ tolerance: 'pointer', accept: function(o){ return $(o).parent().attr('id') !== 'widget-list'; }, drop: function(e,ui) { ui.draggable.addClass('deleting'); $('#removing-widget').hide().children('span').empty(); }, over: function(e,ui) { ui.draggable.addClass('deleting'); $('div.widget-placeholder').hide(); if ( ui.draggable.hasClass('ui-sortable-helper') ) { $('#removing-widget').show().children('span') .html( ui.draggable.find( 'div.widget-title' ).children( 'h3' ).html() ); } }, out: function(e,ui) { ui.draggable.removeClass('deleting'); $('div.widget-placeholder').show(); $('#removing-widget').hide().children('span').empty(); } }); // Area Chooser $( '#widgets-right .widgets-holder-wrap' ).each( function( index, element ) { var $element = $( element ), name = $element.find( '.sidebar-name h2' ).text(), id = $element.find( '.widgets-sortables' ).attr( 'id' ), li = $('<li tabindex="0">').text( $.trim( name ) ); if ( index === 0 ) { li.addClass( 'widgets-chooser-selected' ); } selectSidebar.append( li ); li.data( 'sidebarId', id ); }); $( '#available-widgets .widget .widget-title' ).on( 'click.widgets-chooser', function() { var $widget = $(this).closest( '.widget' ); if ( $widget.hasClass( 'widget-in-question' ) || $( '#widgets-left' ).hasClass( 'chooser' ) ) { self.closeChooser(); } else { // Open the chooser self.clearWidgetSelection(); $( '#widgets-left' ).addClass( 'chooser' ); $widget.addClass( 'widget-in-question' ).children( '.widget-description' ).after( chooser ); chooser.slideDown( 300, function() { selectSidebar.find('.widgets-chooser-selected').focus(); }); selectSidebar.find( 'li' ).on( 'focusin.widgets-chooser', function() { selectSidebar.find('.widgets-chooser-selected').removeClass( 'widgets-chooser-selected' ); $(this).addClass( 'widgets-chooser-selected' ); } ); } }); // Add event handlers chooser.on( 'click.widgets-chooser', function( event ) { var $target = $( event.target ); if ( $target.hasClass('button-primary') ) { self.addWidget( chooser ); self.closeChooser(); } else if ( $target.hasClass( 'widgets-chooser-cancel' ) ) { self.closeChooser(); } }).on( 'keyup.widgets-chooser', function( event ) { if ( event.which === $.ui.keyCode.ENTER ) { if ( $( event.target ).hasClass( 'widgets-chooser-cancel' ) ) { // Close instead of adding when pressing Enter on the Cancel button self.closeChooser(); } else { self.addWidget( chooser ); self.closeChooser(); } } else if ( event.which === $.ui.keyCode.ESCAPE ) { self.closeChooser(); } }); }, saveOrder : function( sidebarId ) { var data = { action: 'widgets-order', savewidgets: $('#_wpnonce_widgets').val(), sidebars: [] }; if ( sidebarId ) { $( '#' + sidebarId ).find( '.spinner:first' ).addClass( 'is-active' ); } $('div.widgets-sortables').each( function() { if ( $(this).sortable ) { data['sidebars[' + $(this).attr('id') + ']'] = $(this).sortable('toArray').join(','); } }); $.post( ajaxurl, data, function() { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); $( '.spinner' ).removeClass( 'is-active' ); }); }, save : function( widget, del, animate, order ) { var sidebarId = widget.closest('div.widgets-sortables').attr('id'), data = widget.find('form').serialize(), a; widget = $(widget); $( '.spinner', widget ).addClass( 'is-active' ); a = { action: 'save-widget', savewidgets: $('#_wpnonce_widgets').val(), sidebar: sidebarId }; if ( del ) { a.delete_widget = 1; } data += '&' + $.param(a); $.post( ajaxurl, data, function(r) { var id; if ( del ) { if ( ! $('input.widget_number', widget).val() ) { id = $('input.widget-id', widget).val(); $('#available-widgets').find('input.widget-id').each(function(){ if ( $(this).val() === id ) { $(this).closest('div.widget').show(); } }); } if ( animate ) { order = 0; widget.slideUp('fast', function(){ $(this).remove(); wpWidgets.saveOrder(); }); } else { widget.remove(); if ( sidebarId === 'wp_inactive_widgets' ) { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); } } } else { $( '.spinner' ).removeClass( 'is-active' ); if ( r && r.length > 2 ) { $( 'div.widget-content', widget ).html( r ); wpWidgets.appendTitle( widget ); $document.trigger( 'widget-updated', [ widget ] ); if ( sidebarId === 'wp_inactive_widgets' ) { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); } } } if ( order ) { wpWidgets.saveOrder(); } }); }, removeInactiveWidgets : function() { var $element = $( '.remove-inactive-widgets' ), a, data; $( '.spinner', $element ).addClass( 'is-active' ); a = { action : 'delete-inactive-widgets', removeinactivewidgets : $( '#_wpnonce_remove_inactive_widgets' ).val() }; data = $.param( a ); $.post( ajaxurl, data, function() { $( '#wp_inactive_widgets .widget' ).remove(); $( '#inactive-widgets-control-remove' ).prop( 'disabled' , true ); $( '.spinner', $element ).removeClass( 'is-active' ); } ); }, appendTitle : function(widget) { var title = $('input[id*="-title"]', widget).val() || ''; if ( title ) { title = ': ' + title.replace(/<[^<>]+>/g, '').replace(/</g, '<').replace(/>/g, '>'); } $(widget).children('.widget-top').children('.widget-title').children() .children('.in-widget-title').html(title); }, close : function(widget) { widget.children('.widget-inside').slideUp('fast', function() { widget.attr( 'style', '' ) .find( '.widget-top button.widget-action' ) .attr( 'aria-expanded', 'false' ) .focus(); }); }, addWidget: function( chooser ) { var widget, widgetId, add, n, viewportTop, viewportBottom, sidebarBounds, sidebarId = chooser.find( '.widgets-chooser-selected' ).data('sidebarId'), sidebar = $( '#' + sidebarId ); widget = $('#available-widgets').find('.widget-in-question').clone(); widgetId = widget.attr('id'); add = widget.find( 'input.add_new' ).val(); n = widget.find( 'input.multi_number' ).val(); // Remove the cloned chooser from the widget widget.find('.widgets-chooser').remove(); if ( 'multi' === add ) { widget.html( widget.html().replace( /<[^<>]+>/g, function(m) { return m.replace( /__i__|%i%/g, n ); }) ); widget.attr( 'id', widgetId.replace( '__i__', n ) ); n++; $( '#' + widgetId ).find('input.multi_number').val(n); } else if ( 'single' === add ) { widget.attr( 'id', 'new-' + widgetId ); $( '#' + widgetId ).hide(); } // Open the widgets container sidebar.closest( '.widgets-holder-wrap' ).removeClass('closed'); sidebar.append( widget ); sidebar.sortable('refresh'); wpWidgets.save( widget, 0, 0, 1 ); // No longer "new" widget widget.find( 'input.add_new' ).val(''); $document.trigger( 'widget-added', [ widget ] ); /* * Check if any part of the sidebar is visible in the viewport. If it is, don't scroll. * Otherwise, scroll up to so the sidebar is in view. * * We do this by comparing the top and bottom, of the sidebar so see if they are within * the bounds of the viewport. */ viewportTop = $(window).scrollTop(); viewportBottom = viewportTop + $(window).height(); sidebarBounds = sidebar.offset(); sidebarBounds.bottom = sidebarBounds.top + sidebar.outerHeight(); if ( viewportTop > sidebarBounds.bottom || viewportBottom < sidebarBounds.top ) { $( 'html, body' ).animate({ scrollTop: sidebarBounds.top - 130 }, 200 ); } window.setTimeout( function() { // Cannot use a callback in the animation above as it fires twice, // have to queue this "by hand". widget.find( '.widget-title' ).trigger('click'); }, 250 ); }, closeChooser: function() { var self = this; $( '.widgets-chooser' ).slideUp( 200, function() { $( '#wpbody-content' ).append( this ); self.clearWidgetSelection(); }); }, clearWidgetSelection: function() { $( '#widgets-left' ).removeClass( 'chooser' ); $( '.widget-in-question' ).removeClass( 'widget-in-question' ); }, /** * Closes a Sidebar that was previously closed, but opened by dragging a Widget over it. * * Used when a Widget gets dragged in/out of the Sidebar and never dropped. * * @param sidebar */ closeSidebar: function( sidebar ) { this.hoveredSidebar.addClass( 'closed' ); $( sidebar.target ).css( 'min-height', '' ); this.hoveredSidebar = null; } }; $document.ready( function(){ wpWidgets.init(); } ); })(jQuery);