JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.1
[ckeditor.git] / _source / adapters / jquery.js
index e633758..ec98504 100644 (file)
@@ -1,5 +1,5 @@
 /*\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
@@ -97,6 +97,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                 */\r
                ckeditor: function( callback, config )\r
                {\r
+                       if ( !CKEDITOR.env.isCompatible )\r
+                               return this;\r
+\r
                        if ( !jQuery.isFunction( callback ))\r
                        {\r
                                var tmp = config;\r