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:
10
src/app/directives/stopPropDirective.js
Normal file
10
src/app/directives/stopPropDirective.js
Normal file
@@ -0,0 +1,10 @@
|
||||
angular
|
||||
.module('bit.directives')
|
||||
|
||||
.directive('stopProp', function () {
|
||||
return function (scope, element, attrs) {
|
||||
$(element).click(function (event) {
|
||||
event.stopPropagation();
|
||||
});
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user