Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
chore(docs-app): fix middle/right dropdown clicks in FF
Browse files Browse the repository at this point in the history
Closes #14024
  • Loading branch information
Narretz committed Feb 17, 2016
1 parent 4dfd36b commit 1059aff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/app/assets/js/angular-bootstrap/dropdown-toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 1059aff

Please sign in to comment.