From da9f0970d2d4ee511602583cff19bda6f636181f Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Thu, 7 Apr 2011 15:35:01 +0200 Subject: [PATCH] Parse to int --- mkdru.theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ') -- 1.7.10.4