diaspora/public/javascripts/ie.js
Joe Bivins cb18f204ef Fixes #2610 (attempt 2).
Works-around the IE 9 login problem without modifying vendor/backbone.js.

Tested with IE 9.0.4.
2012-01-10 01:59:42 -05:00

7 lines
214 B
JavaScript

document.createElement('header');
document.createElement('footer');
// IE 9 work-around for vendor/backbone.js
if ((window.history) && (document.documentMode == 9)) {
window.history.pushState = function() { };
}