Commit ca07f5b9 authored by Tray Torrance's avatar Tray Torrance

Close #2606 and address other FF 3.x deficiencies.

parent 9dbe644b
......@@ -65,6 +65,17 @@
- if rtl?
= include_stylesheets :rtl, :media => 'all'
:javascript
// Support for older browsers
if(Array.isArray === undefined) {
Array.isArray = function (arg) {
return Object.prototype.toString.call(arg) == '[object Array]';
};
}
if ((window.history) && (window.history.pushState === undefined)) {
window.history.pushState = function() { };
}
= csrf_meta_tag
<!--[if IE]>
= javascript_include_tag "/javascripts/ie.js"
......
document.createElement('header');
document.createElement('footer');
// IE 9 work-around for vendor/backbone.js
if ((window.history) && (document.documentMode == 9)) {
window.history.pushState = function() { };
}
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