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, "*"); |
} |