diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index 5a44cd1cdc..dbb6c27191 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -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; }());