remove debug messages in console

This commit is contained in:
Robin Appelman 2011-12-27 13:41:22 +01:00
parent f7674d06d3
commit 1efb4a0c61

View file

@ -354,7 +354,6 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight,
var container = document.getElementById('viewer'); var container = document.getElementById('viewer');
container.style.left = (document.getElementById("content").offsetWidth-(this.width))/2 + 'px'; container.style.left = (document.getElementById("content").offsetWidth-(this.width))/2 + 'px';
console.log(document.getElementById("content").offsetWidth,this.width);
while (div.hasChildNodes()) while (div.hasChildNodes())
div.removeChild(div.lastChild); div.removeChild(div.lastChild);