mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
correct typo in fallback ns logic for pulling display rect nodes
This commit is contained in:
parent
0d92737ff2
commit
343f9ed367
@ -263,7 +263,7 @@ function configureFromXML( tileSource, xmlDoc ){
|
||||
|
||||
dispRectNodes = root.getElementsByTagName( "DisplayRect" );
|
||||
if (dispRectNodes.length === 0) {
|
||||
dispRectNodes = root.getElementsByTagNameNS(ns, "DisplayRect" )[ 0 ];
|
||||
dispRectNodes = root.getElementsByTagNameNS(ns, "DisplayRect" );
|
||||
}
|
||||
for ( i = 0; i < dispRectNodes.length; i++ ) {
|
||||
dispRectNode = dispRectNodes[ i ];
|
||||
|
Loading…
Reference in New Issue
Block a user