1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

toggle checkboxes by clicking whole cell

This commit is contained in:
Kyle Spearrin
2017-06-09 01:10:53 -04:00
parent f170157817
commit 488dbb6715
4 changed files with 28 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();
});
};
});