client/js/wikipedia-bin.js
changeset 52 e0f6f3c31150
parent 44 869410bab434
child 56 a9b9e6c7be63
--- a/client/js/wikipedia-bin.js	Mon Jan 14 16:00:07 2013 +0100
+++ b/client/js/wikipedia-bin.js	Thu Jan 31 18:53:08 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,"_")),