diff options
-rw-r--r-- | js/build/app.js | 2 | ||||
-rw-r--r-- | js/directive/NewsAutoFocus.js | 2 | ||||
-rw-r--r-- | js/directive/NewsDraggable.js | 10 |
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 |