From a6e2863a5c4d22647c973da376b1d1867b673340 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Sat, 9 Mar 2013 14:18:48 +0100 Subject: Selectmenu: simplify overflow selectmenu init in default demo --- demos/selectmenu/default.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'demos') diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html index aa642032e..48007e2cd 100644 --- a/demos/selectmenu/default.html +++ b/demos/selectmenu/default.html @@ -17,8 +17,7 @@ $('#files').selectmenu(); - var withOverflow = $('#number').selectmenu(); - withOverflow.selectmenu("menuWidget").addClass("overflow"); + $('#number').selectmenu().selectmenu("menuWidget").addClass("overflow"); });