Skip to content
Snippets Groups Projects
Commit 2ae117b7 authored by Elias Sagmo Larsen's avatar Elias Sagmo Larsen
Browse files

lol revert

parent ccf5f916
No related branches found
No related tags found
No related merge requests found
Pipeline #129206 passed
...@@ -3,9 +3,7 @@ async function fetchFacilities(request) { ...@@ -3,9 +3,7 @@ async function fetchFacilities(request) {
let url = new URL(window.location); let url = new URL(window.location);
let page = url.searchParams.get("page"); let page = url.searchParams.get("page");
if (typeof page == "string") { if (typeof page == "string") {
page = page >>> 0 === ( page = page >>> 0 === parseFloat(page) ? parseInt(page) : 1;
parseFloat(page) ? parseInt(page) : 1
);
} else { } else {
page = 1; page = 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment