From 0441cfe4ec6ed3dfd7b3598bd8e8e6986870a4db Mon Sep 17 00:00:00 2001 From: radix-pro Date: Mon, 1 Jul 2013 23:55:07 -0700 Subject: [PATCH] Update iiiftilesource.js --- src/iiiftilesource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js index 4451da23..802e932c 100644 --- a/src/iiiftilesource.js +++ b/src/iiiftilesource.js @@ -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; } }