(js) Improve sg-ripple-click directive

This commit is contained in:
Francis Lachapelle 2016-10-20 21:15:50 -04:00
parent f326ca5ae5
commit b301c5ec4c

View file

@ -69,6 +69,10 @@
// Register listener
element.on('click', listener);
scope.$on('$destroy', function() {
element.off('click', listener);
});
function listener(event) {
var coordinates;