Browse Source

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

pull/4289/head
Brian Paulson 8 years ago committed by 无闻
parent
commit
50b36a732c
  1. 5
      public/js/gogs.js

5
public/js/gogs.js

@ -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');
} }

Loading…
Cancel
Save