mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 15:20:01 +01:00
ui: added Select class to ui.dropdown menus to prevent label changing (#4294)
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user