Commit 326d21d1 by Don Mitchell

ie7 fixes: define indexOf, use charAt rather than [] to access string,

put try/catch around fn that was throwing errors.
parent 1b8dfadc
......@@ -37,3 +37,11 @@ $ ->
$('#signup').click ->
$('#signup-modal input[name="email"]').focus()
false
# fix for ie
if !Array::indexOf
Array::indexOf = (obj, start = 0) ->
for ele, i in this[start..]
if ele is obj
return i + start
return -1
......@@ -2,6 +2,5 @@
// content-box | border-box | inherit
-webkit-box-sizing: $box;
-moz-box-sizing: $box;
box-sizing: $box;
box-sizing: $box; *behavior: url(/static/scripts/boxsizing.htc);
}
......@@ -85,7 +85,10 @@ function update(){
}
resizetimeout = window.setTimeout(function(){
restore();
init();
try {
init();
}
catch (err) {}
resizetimeout = null;
},100);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment