diff --git a/lib/editor/htmlarea/popups/fullscreen.php b/lib/editor/htmlarea/popups/fullscreen.php index 2cc07048083..d6e3c0f76b6 100644 --- a/lib/editor/htmlarea/popups/fullscreen.php +++ b/lib/editor/htmlarea/popups/fullscreen.php @@ -34,7 +34,7 @@ for (var i = 0; i < scripts.length; ++i) { } else { new_script.src = "../" + script.src; } - if (navigator.appVersion.indexOf("MSIE") > 0 && script.src.indexOf("yui/event/event") == false) { + if (navigator.appVersion.indexOf("MSIE") == -1 || script.src.indexOf("yui/event/event") == -1) { head.appendChild(new_script); } }