[MERGE] forward port branch 9.0 up to 5e38bef5a5
This commit is contained in:
@@ -355,8 +355,8 @@ var RTE = Widget.extend({
|
||||
var $el = $(this);
|
||||
|
||||
$el.find('[class]').filter(function () {
|
||||
if (!this.className.match(/\S/)) {
|
||||
this.removeAttribute("class");
|
||||
if (!this.getAttribute('class').match(/\S/)) {
|
||||
this.removeAttribute('class');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user