aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <[email protected]>2014-04-15 21:52:34 -0700
committerfat <[email protected]>2014-04-15 21:52:34 -0700
commitf2af95353e4656eeb01838caea10fe76af69ca4d (patch)
treeeea7d06acc07dff3a90776a1e30b52ebe16e082a /js
parent1254c322fa77edbd87a33ed30dc5904bdbb91a51 (diff)
downloadbootstrap-f2af95353e4656eeb01838caea10fe76af69ca4d.tar.xz
bootstrap-f2af95353e4656eeb01838caea10fe76af69ca4d.zip
fixes #13296 Dropdown disappears with right-click on Firefox
Diffstat (limited to 'js')
-rw-r--r--js/dropdown.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/dropdown.js b/js/dropdown.js
index 905ee3979..dc75248e3 100644
--- a/js/dropdown.js
+++ b/js/dropdown.js
@@ -83,6 +83,7 @@
}
function clearMenus(e) {
+ if (e && e.which === 3) return
$(backdrop).remove()
$(toggle).each(function () {
var $parent = getParent($(this))