projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79edacd
)
Declare variable for cleanliness
author
Michael Ang
<mang@archive.org>
Tue, 30 Jun 2009 23:46:55 +0000
(23:46 +0000)
committer
Michael Ang
<mang@archive.org>
Tue, 30 Jun 2009 23:46:55 +0000
(23:46 +0000)
GnuBook/GnuBook.js
patch
|
blob
|
history
diff --git
a/GnuBook/GnuBook.js
b/GnuBook/GnuBook.js
index
ffb90d4
..
f150d7a
100644
(file)
--- a/
GnuBook/GnuBook.js
+++ b/
GnuBook/GnuBook.js
@@
-2251,7
+2251,7
@@
GnuBook.prototype.getPageIndices = function(pageNum) {
if (pageNum.slice(0,1) == 'n') {
try {
var pageIntStr = pageNum.slice(1, pageNum.length);
- pageIndex = parseInt(pageIntStr);
+
var
pageIndex = parseInt(pageIntStr);
indices.append(pageIndex);
return indices;
} catch(err) {