Support non-anchor dropdown items

This commit is contained in:
Trask Stalnaker
2018-07-02 13:13:36 -07:00
parent c38558d2d3
commit 76eae6ebc5
+1 -1
View File
@@ -195,7 +195,7 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.multiMap', 'ui.bootstrap.
scope.focusDropdownEntry = function(keyCode) {
var elems = self.dropdownMenu ? //If append to body is used.
angular.element(self.dropdownMenu).find('a') :
angular.element(self.dropdownMenu).find('.dropdown-item') :
$element.find('div').eq(0).find('a.');
switch (keyCode) {