From e299e9ad662ce1b58bc77d6283351ce2902d83e1 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Sun, 26 Feb 2012 02:45:43 +0100 Subject: Selectmenu: added empty.html visual test, small improvements in html files --- demos/selectmenu/custom_render.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'demos/selectmenu') diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html index 39d1534de..c9f962d7f 100644 --- a/demos/selectmenu/custom_render.html +++ b/demos/selectmenu/custom_render.html @@ -21,11 +21,10 @@ li.addClass( 'ui-state-disabled' ).text( item.label ); } else { el = item.element; - var link = $( "", { + $( "", { html: icon = '' + item.label, href: '#' - }); - li.append( link ); + }).appendTo( li ); } return li.appendTo( ul ); -- cgit v1.2.3