X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fwsc%2Fplugin.js;h=3566dc975508a594c0f466e2a82c087efab6949e;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hp=3edb26d6b09cd632864d59c4fb634574c3bf1711;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/plugins/wsc/plugin.js b/_source/plugins/wsc/plugin.js index 3edb26d..3566dc9 100644 --- a/_source/plugins/wsc/plugin.js +++ b/_source/plugins/wsc/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -18,7 +18,7 @@ CKEDITOR.plugins.add( 'wsc', var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) ); // SpellChecker doesn't work in Opera and with custom domain - command.modes = { wysiwyg : ( !CKEDITOR.env.opera && document.domain == window.location.hostname ) }; + command.modes = { wysiwyg : ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname ) }; editor.ui.addButton( 'SpellChecker', {