mirror of https://github.com/gogs/gogs.git
ui: added Select class to ui.dropdown menus to prevent label changing (#4294)
parent
f54bcba339
commit
50b36a732c
|
@ -1233,10 +1233,11 @@ $(document).ready(function () {
|
|||
|
||||
// Semantic UI modules.
|
||||
$('.ui.dropdown').dropdown({
|
||||
forceSelection: false
|
||||
forceSelection: false,
|
||||
action:'select'
|
||||
});
|
||||
$('.jump.dropdown').dropdown({
|
||||
action: 'hide',
|
||||
action: 'select',
|
||||
onShow: function () {
|
||||
$('.poping.up').popup('hide');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue