优化性能:直接查找需要移除的css样式
This commit is contained in:
parent
32bb4ddf00
commit
8c76c3f7d7
|
@ -36,7 +36,7 @@
|
||||||
if ($this.hasClass('tipso_style')) $this.tipso('hide').tipso('destroy');
|
if ($this.hasClass('tipso_style')) $this.tipso('hide').tipso('destroy');
|
||||||
})
|
})
|
||||||
vf.resetForm();
|
vf.resetForm();
|
||||||
v.find('div.form-group').removeClass("has-error has-success");
|
v.find('.has-error, .has-success').removeClass("has-error has-success");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue