mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-04-28 17:46:44 +02:00
fix: label shall only allow to show text instead of html content
This commit is contained in:
parent
a654624c71
commit
864d984b5a
@ -193,7 +193,7 @@ namespace OS {
|
|||||||
this._text = v;
|
this._text = v;
|
||||||
if (v) {
|
if (v) {
|
||||||
$(this.refs.text).show();
|
$(this.refs.text).show();
|
||||||
$(this.refs.text).html(v.__());
|
$(this.refs.text).text(v.__());
|
||||||
} else {
|
} else {
|
||||||
$(this.refs.text).hide();
|
$(this.refs.text).hide();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user