From 37bc36a7e71a2ee100ed7ab0e8721df2c3d7b8a2 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Wed, 26 Mar 2014 15:28:35 -0400 Subject: [PATCH] Fix missed copy paste. --- src/drawer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drawer.js b/src/drawer.js index 5856aa93..b24bd3f6 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -210,7 +210,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{ */ removeOverlay: function( element ) { $.console.error("drawer.removeOverlay is deprecated. Use viewer.removeOverlay instead."); - this.viewer.updateOverlay( element ); + this.viewer.removeOverlay( element ); return this; },