Skip to content

Commit 3080e23

Browse files
committed
chore(docs-app): fix middle/right dropdown clicks in FF
Closes angular#14024
1 parent 0bd27ea commit 3080e23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/app/assets/js/angular-bootstrap/dropdown-toggle.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ angular.module('ui.bootstrap.dropdown', [])
5454
}
5555
};
5656

57-
var closeDropdown = function() {
57+
var closeDropdown = function(evt) {
58+
if (evt && evt.which === 3) return;
59+
5860
openScope.$apply(function() {
5961
openScope.isOpen = false;
6062
});

0 commit comments

Comments
 (0)