diff --git a/themes/bootstrap3/js/zoomy/canvas-zoomy.js b/themes/bootstrap3/js/zoomy/canvas-zoomy.js index 7ad05f73b6ee8bb337a735ec9dbad624cf453970..64f4c28506c6fc1a41462aa215847f4c8bcf20a8 100644 --- a/themes/bootstrap3/js/zoomy/canvas-zoomy.js +++ b/themes/bootstrap3/js/zoomy/canvas-zoomy.js @@ -114,11 +114,7 @@ var Zoomy = { load: function(src, callback) { if(typeof this.canvas === "undefined") return; var img = new Image(); - img.onloadstart = function () { console.log('Loading...'); }; - img.onprogress = function (e) { console.log(e.loaded / e.total * 100); }; img.onload = function() { Zoomy.finishLoad(img); if(typeof callback !== "undefined") callback(); } - img.onerror = function () { /* Load failed. Show a custom error message. */ } - img.onloadend = function () { /* Load either either succeeded or failed. Either way, hide the progress bar. */ }; img.src = src; }, finishLoad: function(img) { @@ -150,7 +146,6 @@ var Zoomy = { this.context.restore(); // Minimap - console.log(this.showMinimap); if(!this.showMinimap) return; if(this.minimap == null) { this.minimap = this.initMinimap();