From d83f0b2de94ea3b2bbf63a8abdfdeadeea8956cd Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Wed, 5 Oct 2011 00:47:38 +0200 Subject: [PATCH] Selectmenu: changed button to inline element --- demos/selectmenu/default.html | 1 + tests/visual/selectmenu/disabled.html | 1 + tests/visual/selectmenu/events.html | 1 + tests/visual/selectmenu/option.html | 1 + ui/jquery.ui.selectmenu.js | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html index 8e4c7556e..d8296dedb 100644 --- a/demos/selectmenu/default.html +++ b/demos/selectmenu/default.html @@ -29,6 +29,7 @@ diff --git a/tests/visual/selectmenu/disabled.html b/tests/visual/selectmenu/disabled.html index a76cc7001..b7861f6c8 100644 --- a/tests/visual/selectmenu/disabled.html +++ b/tests/visual/selectmenu/disabled.html @@ -50,6 +50,7 @@ diff --git a/tests/visual/selectmenu/events.html b/tests/visual/selectmenu/events.html index 02c58db3c..7c7d0ac57 100644 --- a/tests/visual/selectmenu/events.html +++ b/tests/visual/selectmenu/events.html @@ -38,6 +38,7 @@ diff --git a/tests/visual/selectmenu/option.html b/tests/visual/selectmenu/option.html index 1f70d0e56..fe04c89fa 100644 --- a/tests/visual/selectmenu/option.html +++ b/tests/visual/selectmenu/option.html @@ -30,6 +30,7 @@ diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 50f1264e5..6bdfd95ae 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -109,7 +109,7 @@ $.widget( "ui.selectmenu", { }); // wrap and insert new button - that.newelementWrap = $( '
' ) + that.newelementWrap = $( '' ) .append( that.newelement ) .insertAfter( that.element ); },