diff options
Diffstat (limited to 'js/build/app.js')
-rw-r--r-- | js/build/app.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/js/build/app.js b/js/build/app.js index 31214d632..81b92d4d0 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -1635,24 +1635,6 @@ var $__build_47_app__ = function () { }); }; }); - app.directive('newsRouteReload', [ - '$location', - '$route', - function ($location, $route) { - 'use strict'; - return { - restrict: 'A', - scope: { 'ngHref': '@' }, - link: function (scope, elem, attrs) { - elem.click(function () { - if ($location.path() === attrs.ngHref.substring(1)) { - $route.reload(); - } - }); - } - }; - } - ]); app.directive('newsScroll', [ '$timeout', function ($timeout) { |