--- googlecode.com/svn/trunk/public_html/poll.html 2007/06/25 10:37:57 26
+++ googlecode.com/svn/trunk/public_html/poll.html 2007/10/10 22:18:30 29
@@ -114,7 +114,18 @@
setTimeout(poll, x);
}
+function guard() {
+ var url = get("subsurl");
+ if (typeof(url)=="undefined") {
+ pollreq.abort();
+ delete pollreq;
+ clearTimeout(polltimer);
+ }
+}
+
poll();
+guard();
+