Skip to content

Commit

Permalink
reactivate hit index on loader
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Oct 13, 2023
1 parent 001b2d7 commit 984e5e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.2",
"version": "1.0.3",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/loader/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (state === null) {
}
sessionStorage.setItem(indexName, "" + (parseInt(sessionStorage.getItem(indexName) ?? "0") + 1));

export const hitIndex = 1; //parseInt(sessionStorage.getItem(indexName) ?? "0");
export const hitIndex = parseInt(sessionStorage.getItem(indexName) ?? "0");

export function initLoader() {
let interval = setInterval(() => {
Expand Down

0 comments on commit 984e5e9

Please sign in to comment.