Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rrpgLink_FrontEnd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kesaubeeire
rrpgLink_FrontEnd
Commits
d51c7c48
Commit
d51c7c48
authored
Oct 22, 2023
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove some console.log
parent
93961d3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
src/Content.svelte
src/Content.svelte
+0
-6
No files found.
src/Content.svelte
View file @
d51c7c48
...
...
@@ -142,8 +142,6 @@
let isSearching = false;
function continueLastSearch() {
console.log("continueLastSearch");
console.log("lastSearchFunc=" + lastSearchFunc.toString());
if (lastSearchFunc) {
lastSearchFunc(lastSearchParam, limit, nextPage);
}
...
...
@@ -296,10 +294,6 @@
let scrollTop =document.documentElement.scrollTop ||document.body.scrollTop
let clientHeight =document.documentElement.clientHeight ||document.body.clientHeight
let scrollHeight =document.documentElement.scrollHeight ||document.body.scrollHeight
console.log('scrolled, top=' + scrollTop.toString());
console.log('scrolled, ch=' + clientHeight.toString());
console.log('scrolled, top+ch=' + (scrollTop +clientHeight).toString());
console.log('scrolled, sh=' + scrollHeight.toString());
if ((clientHeight >0 &&scrollTop >0) && (scrollTop +clientHeight > scrollHeight - 10.0)) {
//page+1重复上次搜索
continueLastSearch();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment