summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-13 17:06:34 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-13 17:06:34 +0200
commit6f0de450796a29e5a18f2bad4b3ea846138ea28a (patch)
treed1f75012f63617a1a0e157bd0a136811b0017436
parent0c1a67ee4ca4390dcff4a94025bd8fac472968a2 (diff)
fix indention issues
-rw-r--r--js/build/app.js2
-rw-r--r--js/directive/NewsAutoFocus.js2
-rw-r--r--js/directive/NewsDraggable.js10
3 files changed, 7 insertions, 7 deletions
diff --git a/js/build/app.js b/js/build/app.js
index 113183ad1..56337a2fe 100644
--- a/js/build/app.js
+++ b/js/build/app.js
@@ -1712,7 +1712,7 @@ app.directive('newsAutoFocus', ["$timeout", function ($timeout) {
// to combat $digest already in process error when route changes
$timeout(function () {
- toFocus.focus();
+ toFocus.focus();
}, 0);
};
}]);
diff --git a/js/directive/NewsAutoFocus.js b/js/directive/NewsAutoFocus.js
index 0fa4a77c7..422df4d78 100644
--- a/js/directive/NewsAutoFocus.js
+++ b/js/directive/NewsAutoFocus.js
@@ -18,7 +18,7 @@ app.directive('newsAutoFocus', function ($timeout) {
// to combat $digest already in process error when route changes
$timeout(function () {
- toFocus.focus();
+ toFocus.focus();
}, 0);
};
}); \ No newline at end of file
diff --git a/js/directive/NewsDraggable.js b/js/directive/NewsDraggable.js
index 2dc9967a8..2d365e06c 100644
--- a/js/directive/NewsDraggable.js
+++ b/js/directive/NewsDraggable.js
@@ -20,11 +20,11 @@ app.directive('newsDraggable', function () {
}
attr.$observe('newsDraggableDisable', function (value) {
- if (value === 'true') {
- elem.draggable('disable');
- } else {
- elem.draggable('enable');
- }
+ if (value === 'true') {
+ elem.draggable('disable');
+ } else {
+ elem.draggable('enable');
+ }
});
};
}); \ No newline at end of file