Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: share.html

Issue 10990029: Made share page compatible with IE9 and IE10 (Closed)
Patch Set: Created June 17, 2013, 1:43 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: share.html
===================================================================
--- a/share.html
+++ b/share.html
@@ -83,7 +83,7 @@
var map = {
"en": "en_US",
"he": "he_IL",
- "ko": "ko_KR",
+ "ko": "ko_KR"
Felix Dahlke 2013/06/17 14:03:11 I think the trailing comma was actually intended b
Thomas Greiner 2013/06/17 14:59:57 Done.
};
if (locale in map)
locale = map[locale];
@@ -123,6 +123,10 @@
width: document.body.offsetWidth,
height: document.body.offsetHeight
};
+
+ if (/MSIE/.test(navigator.appVersion))
Felix Dahlke 2013/06/17 14:03:11 This definitely deserves a comment, we're hacking
Thomas Greiner 2013/06/17 14:59:57 Done.
+ dimensions = JSON.stringify(dimensions);
+
window.parent.postMessage(dimensions, "*");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld