From d26569a42dcc8d2c8157b27d4ed816f042b1eeaa Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Sun, 15 Jun 2014 00:30:14 +0200 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98grepolis.user.js=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grepolis.user.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/grepolis.user.js b/grepolis.user.js index c8b77f0..9c50d07 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -41,13 +41,6 @@ }); logWindowElement.empty(); - farm_ids.forEach(function(xFarmId) { - var tmout = 5000 + rand(5); - setTimeout(getWaresTick(xFarmId), tmout); - var tmoutId = 'farm-' + xFarmId - logWindowElement.append('
'); - }) - $("#ui-id-1").empty().append(""); var choose = $("#choosefarmduration")[0]; choose.onchange = function() { @@ -173,4 +166,11 @@ window.setTimeout('countdown('+ --time+',\''+id+'\')',1000); document.getElementById(id).innerHTML = strZeit; } + + farm_ids.forEach(function(xFarmId) { + var tmout = 5000 + rand(5); + setTimeout(getWaresTick(xFarmId), tmout); + var tmoutId = 'farm-' + xFarmId + logWindowElement.append('
'); + }); })() \ No newline at end of file