Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit c824731

Browse files
committed
revert(dropdown): undo addition of unbind
1 parent 1653afa commit c824731

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/dropdown/dropdown.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,7 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.multiMap', 'ui.bootstrap.
336336

337337
scope.focusToggleElement();
338338
uibDropdownService.open(scope, $element, appendTo);
339-
} else {
340-
$document.off('keydown', uibDropdownService.keybindFilter);
341-
uibDropdownService.close(scope, $element, appendTo);
339+
} else
342340
if (self.dropdownMenuTemplateUrl) {
343341
if (templateScope) {
344342
templateScope.$destroy();

0 commit comments

Comments
 (0)