JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.6.1
[ckeditor.git] / _source / plugins / font / plugin.js
index 8dba467..6248e68 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -93,7 +93,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                // the styles.\r
                                                                for ( var value in styles )\r
                                                                {\r
-                                                                       if ( styles[ value ].checkElementRemovable( element, true ) )\r
+                                                                       if ( styles[ value ].checkElementMatch( element, true ) )\r
                                                                        {\r
                                                                                if ( value != currentValue )\r
                                                                                        this.setValue( value );\r