1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 19:23:52 +00:00

stop prop and clicks from vault list

This commit is contained in:
Kyle Spearrin
2017-06-12 09:49:31 -04:00
parent 2d13d18c69
commit 12c3b7e85b
6 changed files with 19 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
angular
.module('bit.directives')
.directive('stopProp', function () {
return function (scope, element, attrs) {
$(element).click(function (event) {
event.stopPropagation();
});
};
});