]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Attempt to get working in IE9.
authorChris Porter <redacted>
Sun, 3 Apr 2011 22:58:29 +0000 (23:58 +0100)
committerChris Porter <redacted>
Sun, 3 Apr 2011 22:58:29 +0000 (23:58 +0100)
bin/pagegen.py
css/qui.mcss
js/jslib.js

index ae156e7979f983c6cd3704bd511a52e5189d506a..c89102c51df15c054cb90b17e63c1206d7757660 100755 (executable)
@@ -65,7 +65,6 @@ def producehtml(name, debug):
   <base />
   <title>%s (qwebirc)</title>
   <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
-  <meta http-equiv="X-UA-Compatible" content="IE=8" />
   <link rel="shortcut icon" type="image/png" href="%simages/favicon.png"/>
 %s%s
 %s
index a0eabc4b8fd480ce36f7d1326da7961de24b86ae..1aafc41c2fecc9d6337f80a416faadacde25f8d2 100644 (file)
@@ -144,6 +144,7 @@ html {
   cursor: default;
   -moz-border-radius: 4px;
   -webkit-border-radius: 4px;
+  border-radius: 4px;
   margin-right: -2px;
   white-space: nowrap;
   text-decoration: none;
@@ -155,6 +156,7 @@ html {
   border: 1px solid #c8d2dc;
   -moz-border-radius: 4px;
   -webkit-border-radius: 4px;
+  border-radius: 4px;
 }
 
 .qwebirc-qui .tab-selected {
@@ -162,6 +164,7 @@ html {
   border: 1px solid $(tab_selected_border);
   -moz-border-radius: 4px;
   -webkit-border-radius: 4px;
+  border-radius: 4px;
   color: $(tab_selected_text);
 }
 
@@ -179,6 +182,7 @@ html {
   padding-left: 3px;
   -moz-border-radius: 2px;
   -webkit-border-radius: 2px;
+  border-radius: 2px;
 }
 
 .qwebirc-qui a.tab-hilight-activity {
index 994bf419901aaf80947e1b49f54103b4b4b5f6c0..589baa9e035b5aa10b13c88ed8bae2ec3a2ce2b7 100644 (file)
@@ -244,18 +244,22 @@ qwebirc.util.createInput = function(type, parent, name, selected, id) {
     } else {
       id = "";
     }
-    r = $(document.createElement("<input type=\"" + type + "\"" + name + id + " " + (selected?" checked":"") + "/>"));
-  } else {    
-    r = new Element("input");
-    r.type = type;
-    if(name)
-      r.name = name;
-    if(id)
-      r.id = id;
-      
-    if(selected)
-      r.checked = true;
+    try {
+      return $(document.createElement("<input type=\"" + type + "\"" + name + id + " " + (selected?" checked":"") + "/>"));
+    } catch(e) {
+      /* fallthough, trying it the proper way... */
+    }
   }
+  
+  r = new Element("input");
+  r.type = type;
+  if(name)
+    r.name = name;
+  if(id)
+    r.id = id;
+      
+  if(selected)
+    r.checked = true;
     
   parent.appendChild(r);
   return r;