From 50b36a732c4b57248a2ee1757668155c5f77d3bb Mon Sep 17 00:00:00 2001 From: Brian Paulson Date: Wed, 15 Mar 2017 14:35:13 -0600 Subject: [PATCH] ui: added Select class to ui.dropdown menus to prevent label changing (#4294) --- public/js/gogs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/js/gogs.js b/public/js/gogs.js index a06fcecb9..5bcda5bc9 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -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'); }