mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 14:53:14 +03:00
processDZI: fix imageFormatSupported check
c41f6a464e8c7676abd92f0b1a7d3ea80b337d12 changed this from an in-scope function to a namespaced one but left the invocation unprefixed
This commit is contained in:
parent
6c4643d447
commit
3b1b9cd2f1
@ -1850,10 +1850,8 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
||||
rectNode,
|
||||
i;
|
||||
|
||||
if ( !imageFormatSupported( fileFormat ) ) {
|
||||
throw new Error(
|
||||
$.getString( "Errors.ImageFormat", fileFormat.toUpperCase() )
|
||||
);
|
||||
if (!$.imageFormatSupported(fileFormat)) {
|
||||
throw new Error($.getString("Errors.ImageFormat", fileFormat.toUpperCase()));
|
||||
}
|
||||
|
||||
for ( i = 0; i < dispRectNodes.length; i++ ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user