/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
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