aboutsummaryrefslogtreecommitdiffstats
path: root/static-http/ajamdemo.html
diff options
context:
space:
mode:
Diffstat (limited to 'static-http/ajamdemo.html')
-rw-r--r--static-http/ajamdemo.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/static-http/ajamdemo.html b/static-http/ajamdemo.html
index f6b690e86..607a2cfbe 100644
--- a/static-http/ajamdemo.html
+++ b/static-http/ajamdemo.html
@@ -7,7 +7,7 @@
var logoffs = new Object;
var channels = new Object;
var pongs = new Object;
- var loggedon = 0;
+ var loggedon = -1;
var selectedchan = null;
var hungupchan = "";
var transferedchan = "";
@@ -15,7 +15,7 @@
var demo = new Object;
function loggedOn() {
- if (loggedon)
+ if (loggedon == 1)
return;
loggedon = 1;
updateButtons();
@@ -29,7 +29,7 @@
}
function loggedOff() {
- if (!loggedon)
+ if (loggedon == 0)
return;
loggedon = 0;
selectedchan = null;