From afa1a7887f7f49d565bbb6bae61eb044ee8b8e09 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 18 Sep 2014 15:06:28 +0200 Subject: fix delete folder --- js/directive/NewsTimeout.js | 1 - 1 file changed, 1 deletion(-) (limited to 'js/directive') 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(); -- cgit v1.2.3