mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 07:36:24 +00:00
(js) Improve sg-ripple-click directive
This commit is contained in:
@@ -68,7 +68,11 @@
|
||||
|
||||
// Register listener
|
||||
element.on('click', listener);
|
||||
|
||||
|
||||
scope.$on('$destroy', function() {
|
||||
element.off('click', listener);
|
||||
});
|
||||
|
||||
function listener(event) {
|
||||
var coordinates;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user