1
0
Fork 0
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:
Fred Chasen 2013-02-07 13:17:17 -08:00
commit c68608e83b
5 changed files with 123 additions and 10 deletions

View file

@ -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";