projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d0c050
)
Fix bug preventing pages with number assertions from being accessed by index. See...
author
Michael Ang
<mang@archive.org>
Fri, 18 Sep 2009 00:52:32 +0000
(
00:52
+0000)
committer
Michael Ang
<mang@archive.org>
Fri, 18 Sep 2009 00:52:32 +0000
(
00:52
+0000)
GnuBook/GnuBook.js
patch
|
blob
|
history
diff --git
a/GnuBook/GnuBook.js
b/GnuBook/GnuBook.js
index
86ad43c
..
6e83b84
100644
(file)
--- a/
GnuBook/GnuBook.js
+++ b/
GnuBook/GnuBook.js
@@
-3001,7
+3001,7
@@
GnuBook.prototype.getPageIndices = function(pageNum) {
try {
var pageIntStr = pageNum.slice(1, pageNum.length);
var pageIndex = parseInt(pageIntStr);
- indices.
append
(pageIndex);
+ indices.
push
(pageIndex);
return indices;
} catch(err) {
// Do nothing... will run through page names and see if one matches