From: Jakub Skoczen Date: Thu, 7 Apr 2011 13:35:01 +0000 (+0200) Subject: Parse to int X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=da9f0970d2d4ee511602583cff19bda6f636181f;p=mkdru-moved-to-drupal.org.git Parse to int --- diff --git a/mkdru.theme.js b/mkdru.theme.js index b3d1cda..0948291 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -233,7 +233,7 @@ Drupal.theme.prototype.mkdruCounts = function(first, last, available, total) { }; Drupal.theme.prototype.mkdruStatus = function(activeClients, clients) { - if (activeClients < 1) { + if (Number(activeClients) < 1) { jQuery('a[href="#addon-0-result"]').removeClass('spinning'); } return Drupal.t('Waiting on ') + activeClients + Drupal.t(' out of ')