Fix settings dropdown on mobile devices.

Issue reported by user1@customer34.invalid

(imported from commit b3efa08ac7b4249652a6cd0376aa21217c0435fc)
This commit is contained in:
Waseem Daher 2013-07-24 13:43:45 -04:00
parent 312452f174
commit 1303327e0c

View File

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