Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Parajuli
website
Commits
4f500c0b
Commit
4f500c0b
authored
May 28, 2021
by
Patrick
Browse files
fix issue with wrong number in the number count
parent
87155984
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/js/paper_nextpage.js
View file @
4f500c0b
...
...
@@ -44,12 +44,12 @@ var nextpage = function() {
document
.
getElementById
(
"
previousbutton
"
).
disabled
=
true
;
}
startnumb
+=
1
endnumb
+=
1
//
endnumb += 1
if
(
endnumb
>=
stuff_paper
.
length
){
endnumb
=
stuff_paper
.
length
document
.
getElementById
(
"
nextbutton
"
).
disabled
=
true
;
}
document
.
getElementById
(
"
papercount
"
).
innerHTML
=
startnumb
+
"
-
"
+
endnumb
+
"
(
"
+
stuff_paper
.
length
+
"
)
"
;
document
.
getElementById
(
"
papercount
"
).
innerHTML
=
startnumb
+
"
-
"
+
endnumb
+
"
(
"
+
stuff_paper
.
length
+
"
)
"
;
// }
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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