JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.3
[ckeditor.git] / _source / plugins / wsc / plugin.js
index 3edb26d..27bb988 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -18,7 +18,7 @@ CKEDITOR.plugins.add( 'wsc',
                var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );\r
 \r
                // SpellChecker doesn't work in Opera and with custom domain\r
-               command.modes = { wysiwyg : ( !CKEDITOR.env.opera && document.domain == window.location.hostname ) };\r
+               command.modes = { wysiwyg : ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname ) };\r
 \r
                editor.ui.addButton( 'SpellChecker',\r
                        {\r