ui: added Select class to ui.dropdown menus to prevent label changing (#4294)

This commit is contained in:
Brian Paulson
2017-03-15 14:35:13 -06:00
committed by 无闻
parent f54bcba339
commit 50b36a732c

View File

@@ -1233,10 +1233,11 @@ $(document).ready(function () {
// Semantic UI modules. // Semantic UI modules.
$('.ui.dropdown').dropdown({ $('.ui.dropdown').dropdown({
forceSelection: false forceSelection: false,
action:'select'
}); });
$('.jump.dropdown').dropdown({ $('.jump.dropdown').dropdown({
action: 'hide', action: 'select',
onShow: function () { onShow: function () {
$('.poping.up').popup('hide'); $('.poping.up').popup('hide');
} }