Dialog: Added some missing semicolons.

This commit is contained in:
Scott González 2010-11-12 12:57:34 -05:00
parent 5dad57e3c2
commit c2139fc2e6

View File

@ -586,7 +586,7 @@ $.widget("ui.dialog", {
} }
break; break;
case "draggable": case "draggable":
var isDraggable = uiDialog.is( ":data(draggable)" ) var isDraggable = uiDialog.is( ":data(draggable)" );
if ( isDraggable && !value ) { if ( isDraggable && !value ) {
uiDialog.draggable( "destroy" ); uiDialog.draggable( "destroy" );
} }
@ -600,7 +600,7 @@ $.widget("ui.dialog", {
break; break;
case "resizable": case "resizable":
// currently resizable, becoming non-resizable // currently resizable, becoming non-resizable
var isResizable = uiDialog.is( ":data(resizable)" ) var isResizable = uiDialog.is( ":data(resizable)" );
if (isResizable && !value) { if (isResizable && !value) {
uiDialog.resizable('destroy'); uiDialog.resizable('destroy');
} }