Skip to content

Commit 7a22bbc

Browse files
committed
Fix for "$digest already in progress" in popover data-hide
Similar to mgcrea@3c8bd1d
1 parent 2618687 commit 7a22bbc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/directives/popover.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ angular.module('$strap.directives')
5454
if(!!newValue) {
5555
popover.hide();
5656
} else if(newValue !== oldValue) {
57-
popover.show();
57+
$timeout(function() {
58+
popover.show();
59+
});
5860
}
5961
});
6062
}

0 commit comments

Comments
 (0)