aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/events.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scripts/events.js')
-rw-r--r--lib/scripts/events.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/scripts/events.js b/lib/scripts/events.js
index 2ea619085..df46cc1cf 100644
--- a/lib/scripts/events.js
+++ b/lib/scripts/events.js
@@ -107,8 +107,8 @@ window.fireoninit = function() {
}
// for Internet Explorer (using conditional comments)
- /*@cc_on @*/
- /*@if (@_win32)
+ /*@cc_on
+ @if (@_win32)
document.write("<scr" + "ipt id=\"__ie_init\" defer=\"true\" src=\"//:\"><\/script>");
var script = document.getElementById("__ie_init");
script.onreadystatechange = function() {
@@ -116,7 +116,7 @@ window.fireoninit = function() {
window.fireoninit(); // call the onload handler
}
};
- /*@end @*/
+ @end @*/
// for Safari
if (/WebKit/i.test(navigator.userAgent)) { // sniff
@@ -176,5 +176,5 @@ function bind (fnc) {
var args = Array.prototype.slice.call(arguments, 1);
return function() {
return fnc.apply(this, args);
- }
+ };
}