Update iiiftilesource.js

This commit is contained in:
radix-pro 2013-07-01 23:55:07 -07:00
parent 44a9d1b98b
commit 0441cfe4ec

View File

@ -72,7 +72,7 @@ $.IIIFTileSource = function( options ){
for ( var i = 0; i < this.scale_factor.length; i++ )
{
var cf = Number( this.scale_factor[i] );
if ( !isNaN( cf ) && cf > mf ) {
if ( (! isNaN( cf )) && ( cf > mf )) {
mf = cf;
}
}