From 00ab4979238f1ed71dba8ed69e30ed467fb24641 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 29 Apr 2013 22:14:50 +0200 Subject: Selectmenu: improve readability when creating button elements --- ui/jquery.ui.selectmenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/jquery.ui.selectmenu.js') diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 3254c315e..54a32592b 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -85,9 +85,9 @@ $.widget( "ui.selectmenu", { }) .insertAfter( this.element ); - this.button.prepend( $( "", { + $( "", { "class": "ui-icon " + this.options.icons.button - })); + }).prependTo( this.button ); this.buttonText = $( "", { "class": "ui-selectmenu-text" -- cgit v1.2.3