projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abeedb
)
Since we can now display the first page of a book in 2up mode, set more books to...
author
Michael Ang
<mang@archive.org>
Fri, 19 Nov 2010 01:45:59 +0000
(
01:45
+0000)
committer
Michael Ang
<mang@archive.org>
Fri, 19 Nov 2010 01:45:59 +0000
(
01:45
+0000)
BookReaderIA/datanode/BookReaderJSIA.php
patch
|
blob
|
history
diff --git
a/BookReaderIA/datanode/BookReaderJSIA.php
b/BookReaderIA/datanode/BookReaderJSIA.php
index
b88a10f
..
0f7b6bf
100644
(file)
--- a/
BookReaderIA/datanode/BookReaderJSIA.php
+++ b/
BookReaderIA/datanode/BookReaderJSIA.php
@@
-519,17
+519,7
@@
if (typeof(brConfig) != 'undefined') {
br.reduce = brConfig['reduce'];
}
} else if (brConfig['mode'] == 2) {
- br.mode = 2;
-
-<?
- //$$$mang hack to override request for 2up for books with attribution page
- // as first page until we can display that page in 2up
- $needle = 'goog';
- if (strrpos($id, $needle) === strlen($id)-strlen($needle)) {
- print "// override for books with attribution page\n";
- print "br.mode = 1;\n";
- }
-?>
+ br.mode = 2;
}
} // brConfig