diff --git a/src/dropdown/dropdown.js b/src/dropdown/dropdown.js index fba27b3874..da11a08a2a 100644 --- a/src/dropdown/dropdown.js +++ b/src/dropdown/dropdown.js @@ -220,7 +220,9 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.position']) self.selectedOption = null; } - setIsOpen($scope, isOpen); + if (setIsOpen) { + setIsOpen($scope, isOpen); + } }); $scope.$on('$locationChangeSuccess', function() {