Roo/form/HtmlEditor/ToolbarStandard.js
authorEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:46:52 +0000 (16:46 +0800)
committerEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:46:52 +0000 (16:46 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index 74deb98..4c8235e 100644 (file)
@@ -370,8 +370,8 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                     handler: function(a,b) {
                         var c = Roo.get(editor.doc.body);
                         var nodes = [];
-                        c.select('[style]').each(function(i) {
-                            i.dom.style.removeProperty(this.cleanStyles[i]);
+                        c.select('[style]').each(function(v) {
+                            v.dom.style.removeProperty(this.cleanStyles[i]);
                         });
                         
                     },