Skip to content

Commit

Permalink
chore(docs-app): fix middle/right dropdown clicks in FF
Browse files Browse the repository at this point in the history
  • Loading branch information
Narretz committed Feb 14, 2016
1 parent 0bd27ea commit 3080e23
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 3080e23

Please sign in to comment.