From 20090b5acda17e0729ac0f3fadb1cebe6138e132 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Tue, 25 Feb 2014 15:19:05 +0100 Subject: [PATCH] Enable News --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index dc08eb80..0935fc9c 100644 --- a/js/main.js +++ b/js/main.js @@ -211,7 +211,7 @@ jQuery(document).ready(function($) { }, 60000); })(); - function showNews() { + (function showNews() { var newsItem = news[newsIndex]; $('.news').updateWithText(newsItem,2000); @@ -220,6 +220,6 @@ jQuery(document).ready(function($) { setTimeout(function() { showNews(); }, 5500); - }; + })(); });