mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Minor fix to previous PR
This commit is contained in:
parent
4ce2bdcdd1
commit
e8adefbe6e
@ -79,7 +79,7 @@ $.Control = function ( element, options, container ) {
|
||||
{
|
||||
$.console.error("Passing an anchor directly into the OpenSeadragon.Control constructor is deprecated; " +
|
||||
"please use an options object instead. " +
|
||||
"Support for this deprecated variant is scheduled for removal in December 2022");
|
||||
"Support for this deprecated variant is scheduled for removal in December 2013");
|
||||
options = {anchor: options};
|
||||
}
|
||||
options.attachToViewer = (typeof options.attachToViewer === 'undefined') ? true : options.attachToViewer;
|
||||
|
Loading…
Reference in New Issue
Block a user