]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #13296 Dropdown disappears with right-click on Firefox 13354/head
authorfat <jacobthornton@gmail.com>
Wed, 16 Apr 2014 04:52:34 +0000 (21:52 -0700)
committerfat <jacobthornton@gmail.com>
Wed, 16 Apr 2014 04:52:34 +0000 (21:52 -0700)
js/dropdown.js

index 905ee3979e0b20aa0a72019f0ce57328e266f815..dc75248e38901bd77c324a7195be989b663fad09 100644 (file)
@@ -83,6 +83,7 @@
   }
 
   function clearMenus(e) {
+    if (e && e.which === 3) return
     $(backdrop).remove()
     $(toggle).each(function () {
       var $parent = getParent($(this))