From 3619ff7930ec1aa2a8424aca4a9be91efe5bbe3d Mon Sep 17 00:00:00 2001 From: thatcher Date: Wed, 22 Feb 2012 23:43:00 -0500 Subject: [PATCH] Thanks to josh1093 @ github for this one. see ticket https://github.com/thatcher/openseadragon/issues/1 --- build.properties | 2 +- openseadragon.js | 9 +-------- src/viewer.js | 7 ------- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/build.properties b/build.properties index 987324a2..e1d539f0 100644 --- a/build.properties +++ b/build.properties @@ -6,7 +6,7 @@ PROJECT: openseadragon BUILD_MAJOR: 0 BUILD_MINOR: 9 -BUILD_ID: 10 +BUILD_ID: 11 BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} diff --git a/openseadragon.js b/openseadragon.js index 27e2e680..bdc44373 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -1,5 +1,5 @@ /** - * @version OpenSeadragon 0.9.10 + * @version OpenSeadragon 0.9.11 * * @fileOverview *

@@ -2822,13 +2822,6 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, { }, 2000); this._lastOpenEndTime = +new Date(); - - if ( this._lastOpenStartTime < viewer._lastOpenStartTime ) { - $.console.log( "Ignoring out-of-date open." ); - this.raiseEvent( "ignore" ); - return; - } - this.canvas.innerHTML = ""; this._prevContainerSize = $.getElementSize( this.container ); diff --git a/src/viewer.js b/src/viewer.js index c347c55d..f52bcf38 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -412,13 +412,6 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, { }, 2000); this._lastOpenEndTime = +new Date(); - - if ( this._lastOpenStartTime < viewer._lastOpenStartTime ) { - $.console.log( "Ignoring out-of-date open." ); - this.raiseEvent( "ignore" ); - return; - } - this.canvas.innerHTML = ""; this._prevContainerSize = $.getElementSize( this.container );