mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Fix settings dropdown on mobile devices.
Issue reported by user1@customer34.invalid (imported from commit b3efa08ac7b4249652a6cd0376aa21217c0435fc)
This commit is contained in:
parent
312452f174
commit
1303327e0c
@ -1461,5 +1461,14 @@ exports.process_condensing = function (index, elem) {
|
||||
}
|
||||
};
|
||||
|
||||
$(function () {
|
||||
// Workaround for Bootstrap issue #5900, which basically makes dropdowns
|
||||
// unclickable on mobile devices.
|
||||
// https://github.com/twitter/bootstrap/issues/5900
|
||||
$('a.dropdown-toggle, .dropdown-menu a').on('touchstart', function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
});
|
||||
|
||||
return exports;
|
||||
}());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user