Reverted the jsdemo client back to the usesessions mode.
[pazpar2-moved-to-github.git] / www / jsdemo / example_client.js
index b6b1aea..41d01c5 100644 (file)
@@ -6,10 +6,10 @@
 // then register the form submit event with the pz2.search function
 // autoInit is set to true on default
 var usesessions = false;
-var pazpar2path = '.';
+var pazpar2path = '/pazpar2/search.pz2';
 if (document.location.hash == '#nosessions') {
-    usesessions = true;
-    pazpar2path = '/pazpar2/search.pz2';
+    usesessions = false;
+    pazpar2path = '.';
 }
 
 my_paz = new pz2( { "onshow": my_onshow,