Fix missed copy paste.

This commit is contained in:
Antoine Vandecreme 2014-03-26 15:28:35 -04:00
parent 6e2224b7d4
commit 37bc36a7e7

View File

@ -210,7 +210,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
*/ */
removeOverlay: function( element ) { removeOverlay: function( element ) {
$.console.error("drawer.removeOverlay is deprecated. Use viewer.removeOverlay instead."); $.console.error("drawer.removeOverlay is deprecated. Use viewer.removeOverlay instead.");
this.viewer.updateOverlay( element ); this.viewer.removeOverlay( element );
return this; return this;
}, },