From 6f0de450796a29e5a18f2bad4b3ea846138ea28a Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 13 Sep 2014 17:06:34 +0200 Subject: fix indention issues --- js/directive/NewsAutoFocus.js | 2 +- js/directive/NewsDraggable.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'js/directive') 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 -- cgit v1.2.3