Fix bytarget requests being stopped (bug #3087)
[pazpar2-moved-to-github.git] / js / pz2.js
index affff33..800546e 100644 (file)
--- a/js/pz2.js
+++ b/js/pz2.js
@@ -251,6 +251,7 @@ pz2.prototype =
         this.termCounter = 0;
         this.bytargetCounter = 0;
         this.statCounter = 0;
+        this.activeClients = 1;
         
         // no proxy mode
         if( !this.initStatusOK )