Skip to content
Snippets Groups Projects
Commit 3c026a31 authored by Trirst's avatar Trirst
Browse files

Update function name

parent ba832076
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
export let currentPage = 1; export let currentPage = 1;
export let lastPage = 1; export let lastPage = 1;
$: queryPageNumber(currentPage); $: pushPageNumber(currentPage);
function pagePrompt() { function pagePrompt() {
try { try {
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
alert(error); alert(error);
} }
} }
function queryPageNumber(currentPage) { function pushPageNumber(currentPage) {
push(`#/browse?p=${currentPage}`); push(`#/browse?p=${currentPage}`);
} }
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment