Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
feat(dropdown): allow $tooltip config of autoClose
Browse files Browse the repository at this point in the history
  • Loading branch information
lookfirst authored and mgcrea committed Nov 14, 2015
1 parent 37afd3b commit d2afe92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dropdown/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ angular.module('mgcrea.ngStrap.dropdown', ['mgcrea.ngStrap.tooltip'])

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

Expand Down

0 comments on commit d2afe92

Please sign in to comment.