mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: fixed destroy method, show original select again, thx to @jzaefferer
This commit is contained in:
parent
f70a24790c
commit
8944abce67
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -65,7 +65,6 @@ $.widget( "ui.selectmenu", {
|
||||
|
||||
that._addList();
|
||||
that.refresh();
|
||||
|
||||
},
|
||||
|
||||
_addNewelement: function() {
|
||||
@ -414,6 +413,7 @@ $.widget( "ui.selectmenu", {
|
||||
_destroy: function() {
|
||||
this.listWrap.remove();
|
||||
this.newelementWrap.remove();
|
||||
this.element.show();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user