]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Try to minimise headers.
authorChris Porter <redacted>
Sat, 8 Nov 2008 11:27:39 +0000 (11:27 +0000)
committerChris Porter <redacted>
Sat, 8 Nov 2008 11:27:39 +0000 (11:27 +0000)
Get rid of scroll bar on html? element in IE.

js/irc/ircconnection.js
static/css/qui.css

index f5f5010b4d9a63e3b63ad17b622eab92d98e14c4..83114894f58399f23fcf74b20be217a4d60fccc2 100644 (file)
@@ -46,9 +46,12 @@ qwebirc.irc.IRCConnection = new Class({
     
     var r = new Request.JSON({
       url: "/e/" + url + "?r=" + this.cacheAvoidance + "&t=" + this.counter++,
-      onComplete: onComplete,
+      onComplete: onComplete
     });
     
+    /* try to minimise the amount of headers */
+    r.headers = new Hash;
+    
     if(Browser.Engine.trident)
       r.setHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
 
index 040884d71a4419870b3ca80bf9b66fe220957ec0..6c60dff08542360f5479539f68ee075042da950b 100644 (file)
@@ -4,6 +4,10 @@ body {
   overflow: hidden;
 }
 
+html {
+  overflow: hidden;
+}
+
 #ircui {
   position: absolute;
   left: 0px;