diff --git a/ui/widget.js b/ui/widget.js index 30034f592..4b5871205 100644 --- a/ui/widget.js +++ b/ui/widget.js @@ -717,6 +717,8 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) { options = options || {}; if ( typeof options === "number" ) { options = { duration: options }; + } else if ( options === true ) { + options = {}; } hasOptions = !$.isEmptyObject( options );