Fix for IE11
This commit is contained in:
parent
78e0cbaad7
commit
648f0bdec7
|
@ -245,8 +245,10 @@
|
||||||
window.frameEditorId = params["frameEditorId"];
|
window.frameEditorId = params["frameEditorId"];
|
||||||
window.parentOrigin = params["parentOrigin"];
|
window.parentOrigin = params["parentOrigin"];
|
||||||
|
|
||||||
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent))
|
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
|
||||||
document.write('<script src="../../common/main/lib/util/fix-ie-compat.js"><\/script>');
|
document.write('<script src="../../common/main/lib/util/fix-ie-compat.js"><\/script>');
|
||||||
|
document.write('<script src="../../../../sdkjs/vendor/string.js"><\/script>');
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="../../common/main/lib/util/themeinit.js"></script>
|
<script src="../../common/main/lib/util/themeinit.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -261,8 +261,10 @@
|
||||||
window.frameEditorId = params["frameEditorId"];
|
window.frameEditorId = params["frameEditorId"];
|
||||||
window.parentOrigin = params["parentOrigin"];
|
window.parentOrigin = params["parentOrigin"];
|
||||||
|
|
||||||
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent))
|
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
|
||||||
document.write('<script src="../../common/main/lib/util/fix-ie-compat.js"><\/script>');
|
document.write('<script src="../../common/main/lib/util/fix-ie-compat.js"><\/script>');
|
||||||
|
document.write('<script src="../../../../sdkjs/vendor/string.js"><\/script>');
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- debug begin -->
|
<!-- debug begin -->
|
||||||
|
|
|
@ -268,8 +268,10 @@
|
||||||
window.frameEditorId = params["frameEditorId"];
|
window.frameEditorId = params["frameEditorId"];
|
||||||
window.parentOrigin = params["parentOrigin"];
|
window.parentOrigin = params["parentOrigin"];
|
||||||
|
|
||||||
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent))
|
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
|
||||||
document.write('<script src="../../common/main/lib/util/fix-ie-compat.js"><\/script>');
|
document.write('<script src="../../common/main/lib/util/fix-ie-compat.js"><\/script>');
|
||||||
|
document.write('<script src="../../../../sdkjs/vendor/string.js"><\/script>');
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../sdkjs/cell/css/main.css"/>
|
<link rel="stylesheet" type="text/css" href="../../../../sdkjs/cell/css/main.css"/>
|
||||||
|
|
Loading…
Reference in a new issue