Not-printing sidebar, toolbar, shadows and pages that were not loaded (#384)

This commit is contained in:
notmasteryet 2011-08-27 17:10:15 -05:00
parent 8a17a9d557
commit 930e88941c
2 changed files with 33 additions and 0 deletions

View file

@ -211,6 +211,7 @@ var PageView = function(container, content, id, width, height,
while (div.hasChildNodes())
div.removeChild(div.lastChild);
div.removeAttribute('data-loaded');
};
function setupLinks(canvas, content, scale) {
@ -259,6 +260,7 @@ var PageView = function(container, content, id, width, height,
this.content.startRendering(ctx, this.updateStats);
setupLinks(canvas, this.content, this.scale);
div.setAttribute('data-loaded', true);
return true;
};