From cb18f204ef630b0d8cd9fe54245e62f601c90270 Mon Sep 17 00:00:00 2001 From: Joe Bivins Date: Tue, 10 Jan 2012 01:59:42 -0500 Subject: [PATCH] Fixes #2610 (attempt 2). Works-around the IE 9 login problem without modifying vendor/backbone.js. Tested with IE 9.0.4. --- public/javascripts/ie.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/javascripts/ie.js b/public/javascripts/ie.js index 86009f067..33be0fdb7 100644 --- a/public/javascripts/ie.js +++ b/public/javascripts/ie.js @@ -1,2 +1,7 @@ document.createElement('header'); -document.createElement('footer'); \ No newline at end of file +document.createElement('footer'); + +// IE 9 work-around for vendor/backbone.js +if ((window.history) && (document.documentMode == 9)) { + window.history.pushState = function() { }; +}