mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Merge branch 'master' of github.com:fchasen/fpjs
This commit is contained in:
commit
c68608e83b
5 changed files with 123 additions and 10 deletions
|
@ -69,6 +69,7 @@ FP.Chapter.prototype.error = function(err){
|
|||
}
|
||||
|
||||
FP.Chapter.prototype.formatSpread = function(){
|
||||
|
||||
var divisor = 2,
|
||||
cutoff = 800;
|
||||
|
||||
|
@ -100,6 +101,7 @@ FP.Chapter.prototype.formatSpread = function(){
|
|||
|
||||
this.spreadWidth = (this.colWidth + this.gap) * divisor;
|
||||
|
||||
this.bodyEl.style.fontSize = localStorage.getItem("fontSize") || "medium";
|
||||
//-- Clear Margins
|
||||
this.bodyEl.style.visibility = "hidden";
|
||||
this.bodyEl.style.margin = "0";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue