diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index a4af2986e..ffcfcb852 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -428,7 +428,7 @@ $.widget( "ui.selectmenu", { } if ( !element.length ) { - element = this.document[0].body; + element = this.document[ 0 ].body; } return element;