Disable state management for now.
This commit is contained in:
parent
8b5d92591d
commit
efa86c6581
1 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ class RenderScripture {
|
||||||
.classList.remove('hidden');
|
.classList.remove('hidden');
|
||||||
this.buildTranslationList(this.sel);
|
this.buildTranslationList(this.sel);
|
||||||
this.readScripture(refs);
|
this.readScripture(refs);
|
||||||
console.log("pushState()");
|
//console.log("pushState()");
|
||||||
/*history.pushState({
|
/*history.pushState({
|
||||||
dialog: true,
|
dialog: true,
|
||||||
scripture: scripture.value,
|
scripture: scripture.value,
|
||||||
|
|
@ -157,7 +157,7 @@ class RenderScripture {
|
||||||
this.dialog[0]?.close();
|
this.dialog[0]?.close();
|
||||||
this.dialog[0]?.classList.add('hidden');
|
this.dialog[0]?.classList.add('hidden');
|
||||||
this.dialog[0]?.querySelector('article')?.replaceChildren();
|
this.dialog[0]?.querySelector('article')?.replaceChildren();
|
||||||
history.replaceState({}, '', '');
|
//history.replaceState({}, '', '');
|
||||||
//history.back();
|
//history.back();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue