Cleanup [27892].

Built from https://develop.svn.wordpress.org/trunk@27893


git-svn-id: http://core.svn.wordpress.org/trunk@27724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-04-01 15:30:16 +00:00
parent ae1f4e146f
commit dc5effa8cc

View File

@ -931,13 +931,11 @@ var WidgetCustomizer = ( function ($) {
// Highlight whenever hovering or clicking over the form
control.container.on( 'mouseenter click', function () {
control.setting.previewer.send( 'highlight-widget', control.params.widget_id );
//control.highlightPreviewWidget();
} );
// Highlight when the setting is updated
control.setting.bind( function () {
control.setting.previewer.send( 'highlight-widget', control.params.widget_id );
//control.highlightPreviewWidget();
} );
// Highlight when the widget form is expanded