diff options
Diffstat (limited to 'js/directive/NewsDraggable.js')
-rw-r--r-- | js/directive/NewsDraggable.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/directive/NewsDraggable.js b/js/directive/NewsDraggable.js index 76360ecb7..0bd81a78c 100644 --- a/js/directive/NewsDraggable.js +++ b/js/directive/NewsDraggable.js @@ -7,11 +7,11 @@ * @author Bernhard Posselt <dev@bernhard-posselt.com> * @copyright Bernhard Posselt 2014 */ -app.directive('newsDraggable', () => { +app.directive('newsDraggable', function () { 'use strict'; - return (scope, elem, attr) => { - let options = scope.$eval(attr.newsDraggable); + return function (scope, elem, attr) { + var options = scope.$eval(attr.newsDraggable); if (angular.isDefined(options)) { elem.draggable(options); |