mirror of
https://github.com/discourse/discourse.git
synced 2025-03-15 02:35:29 +08:00
Make prettier happy
This commit is contained in:
parent
8556288397
commit
8178444382
@ -474,7 +474,8 @@ class Element {
|
||||
}
|
||||
|
||||
tag() {
|
||||
const tag = new (tags().filter(t => new t().name === this.name)[0] || Tag)();
|
||||
const tag = new (tags().filter(t => new t().name === this.name)[0] ||
|
||||
Tag)();
|
||||
tag.element = this;
|
||||
return tag;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user