Skip to content

Commit d2afe92

Browse files
lookfirstmgcrea
authored andcommitted
feat(dropdown): allow $tooltip config of autoClose
1 parent 37afd3b commit d2afe92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dropdown/dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ angular.module('mgcrea.ngStrap.dropdown', ['mgcrea.ngStrap.tooltip'])
127127

128128
// Directive options
129129
var options = {scope: scope};
130-
angular.forEach(['template', 'templateUrl', 'controller', 'controllerAs', 'placement', 'container', 'delay', 'trigger', 'keyboard', 'html', 'animation', 'id'], function(key) {
130+
angular.forEach(['template', 'templateUrl', 'controller', 'controllerAs', 'placement', 'container', 'delay', 'trigger', 'keyboard', 'html', 'animation', 'id', 'autoClose'], function(key) {
131131
if (angular.isDefined(tAttrs[key])) options[key] = tAttrs[key];
132132
});
133133

0 commit comments

Comments
 (0)