mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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…
Reference in New Issue
Block a user