JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.4
[ckeditor.git] / _source / plugins / font / plugin.js
index 74d3c9d..268f2ee 100644 (file)
@@ -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