This commit is contained in:
TheGiddyLimit
2024-07-19 17:04:07 +01:00
parent 1e72254fcb
commit c330614db9
27 changed files with 1495 additions and 137 deletions

View File

@@ -113,9 +113,11 @@ export class BrewUtil2Base {
isReloadRequired () { return this._isDirty; }
doLocationReload () {
if (typeof Hist !== "undefined") Hist.doPreLocationReload();
else window.location.hash = "";
doLocationReload ({isRetainHash = false} = {}) {
if (!isRetainHash) {
if (typeof Hist !== "undefined") Hist.doPreLocationReload();
else window.location.hash = "";
}
location.reload();
}
@@ -513,6 +515,8 @@ export class BrewUtil2Base {
pLoadPropIndex (urlRoot) { throw new Error("Unimplemented!"); }
/** @abstract */
pLoadMetaIndex (urlRoot) { throw new Error("Unimplemented!"); }
/** @abstract */
pLoadAdventureBookIdsIndex (urlRoot) { throw new Error("Unimplemented!"); }
async pGetCombinedIndexes () {
const urlRoot = await this.pGetCustomUrl();