summaryrefslogtreecommitdiffstats
path: root/js/directive/NewsTimeout.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/directive/NewsTimeout.js')
-rw-r--r--js/directive/NewsTimeout.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/directive/NewsTimeout.js b/js/directive/NewsTimeout.js
index 9ac2ce47b..1bfdf063d 100644
--- a/js/directive/NewsTimeout.js
+++ b/js/directive/NewsTimeout.js
@@ -34,7 +34,6 @@ app.directive('newsTimeout', function ($timeout, $rootScope) {
// slash on the link which is kinda a hack to reload the route
// if you click on the link when the route is the same
$timeout.cancel(timer);
-
if (!destroyed) {
destroyed = true;
element.remove();