From 1059aff6d8b736998b9c4bd9869f721e2c95ab30 Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Sun, 14 Feb 2016 18:48:21 +0100 Subject: [PATCH] chore(docs-app): fix middle/right dropdown clicks in FF Closes #14024 --- docs/app/assets/js/angular-bootstrap/dropdown-toggle.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/app/assets/js/angular-bootstrap/dropdown-toggle.js b/docs/app/assets/js/angular-bootstrap/dropdown-toggle.js index a5cdac6a080f..7be6002ac546 100644 --- a/docs/app/assets/js/angular-bootstrap/dropdown-toggle.js +++ b/docs/app/assets/js/angular-bootstrap/dropdown-toggle.js @@ -54,7 +54,9 @@ angular.module('ui.bootstrap.dropdown', []) } }; - var closeDropdown = function() { + var closeDropdown = function(evt) { + if (evt && evt.which === 3) return; + openScope.$apply(function() { openScope.isOpen = false; });