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