client/js/wikipedia-bin.js
changeset 55 17ff0be41a5b
parent 52 e0f6f3c31150
child 56 a9b9e6c7be63
--- a/client/js/wikipedia-bin.js	Mon Feb 11 10:34:23 2013 +0100
+++ b/client/js/wikipedia-bin.js	Mon Feb 11 12:39:35 2013 +0100
@@ -49,7 +49,8 @@
         return _text.replace(_rgxp, "<span class='searchmatch'>$1</span>");
     }
     var _html = "",
-        _this = this;
+        _this = this,
+        count = 0;
     Rkns._(this.data.query.search).each(function(_result) {
         var title = _result.title,
             url = "http://" + _this.lang + ".wikipedia.org/wiki/" + encodeURI(title.replace(/ /g,"_")),