JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.3.1
[ckeditor.git] / _source / plugins / scayt / plugin.js
index 2076207..ba42fa9 100644 (file)
@@ -357,8 +357,8 @@ CKEDITOR.plugins.scayt =
                },\r
                loadEngine : function( editor )\r
                {\r
-                       // SCAYT doesn't work with Opera.\r
-                       if ( CKEDITOR.env.opera )\r
+                       // SCAYT doesn't work with Firefox2, Opera.\r
+                       if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 || CKEDITOR.env.opera )\r
                                return editor.fire( 'showScaytState' );\r
 \r
                        if ( this.engineLoaded === true )\r
@@ -408,6 +408,7 @@ CKEDITOR.plugins.scayt =
                                                        attributes :\r
                                                                {\r
                                                                        type : 'text/javascript',\r
+                                                                       async : 'true',\r
                                                                        src : scaytUrl\r
                                                                }\r
                                                })\r