mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/expanders: fix setting empty expander title
This commit is contained in:
@ -40,7 +40,11 @@ class ExpanderControl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set title(newTitle) {
|
set title(newTitle) {
|
||||||
this._expanderNode.querySelector('header span').textContent = newTitle;
|
if (this._expanderNode) {
|
||||||
|
this._expanderNode
|
||||||
|
.querySelector('header span')
|
||||||
|
.textContent = newTitle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
get _isOpened() {
|
get _isOpened() {
|
||||||
|
Reference in New Issue
Block a user