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; },