Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Oct 13, 2023
1 parent 7718e07 commit 6267636
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leuffen/liscom-loader",
"version": "1.0.4",
"version": "1.0.5",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/loader/loader.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {ka_create_element} from "@kasimirjs/embed";

const indexName = "liscom_hit_index";
const indexName = "liscom_loader_hit_index";
let state = sessionStorage.getItem(indexName);
if (state === null) {
sessionStorage.setItem(indexName, "0");
Expand All @@ -27,7 +27,7 @@ export function initLoader() {

document.querySelector("body").appendChild(loader);
}
}, hitIndex === 1 ? 10 : 350); // Wait 350 on subsequent requests to prevent flickering
}, hitIndex === 1 ? 0 : 350); // Wait 350 on subsequent requests to prevent flickering
}


0 comments on commit 6267636

Please sign in to comment.