diff --git a/src/tile.js b/src/tile.js index b615dce3..8f0a9280 100644 --- a/src/tile.js +++ b/src/tile.js @@ -771,7 +771,7 @@ $.Tile.prototype = { * @param {OpenSeadragon.Tile} tile */ equals(tile) { - return this._ocKey === this._ocKey; + return this._ocKey === tile._ocKey; }, /** diff --git a/src/viewer.js b/src/viewer.js index 482e127a..2c718b89 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -2733,7 +2733,6 @@ function getTileSourceImplementation( viewer, tileSource, imgOptions, successCal } } else { //can assume it's already a tile source implementation, force inheritance - tileSource = $.extend({}, $.TileSource.prototype, tileSource); waitUntilReady(tileSource, tileSource); } });