Remove trailing spaces from files
Tested: Manually tested GUI for any regressions
Change-Id: I8c0922b7bd67b03b07e8880bc4dba3b862220b33
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/directives/toggle-flag.js b/app/common/directives/toggle-flag.js
index aca09ca..9c342b0 100644
--- a/app/common/directives/toggle-flag.js
+++ b/app/common/directives/toggle-flag.js
@@ -7,19 +7,19 @@
return {
restrict: 'A',
link: function (scope, element, attrs) {
-
+
function elementClick(e) {
e.stopPropagation();
}
-
+
function documentClick(e) {
scope[attrs.toggleFlag] = false;
scope.$apply();
}
-
+
element.on('click', elementClick);
$document.on('click', documentClick);
-
+
// remove event handlers when directive is destroyed
scope.$on('$destroy', function () {
element.off('click', elementClick);