From 28d49df72fe8625488bd59340c8ed1b4fced89a3 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Tue, 15 Dec 2015 09:56:33 -0800 Subject: [PATCH] Fixed broken assert --- src/spring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spring.js b/src/spring.js index 2c89ee07..4e44516e 100644 --- a/src/spring.js +++ b/src/spring.js @@ -79,7 +79,7 @@ $.Spring = function( options ) { $.console.assert(typeof options.springStiffness === "number" && options.springStiffness !== 0, "[OpenSeadragon.Spring] options.springStiffness must be a non-zero number"); - $.console.assert(typeof options.animationTime === "number" && options.springStiffness !== 0, + $.console.assert(typeof options.animationTime === "number" && options.animationTime !== 0, "[OpenSeadragon.Spring] options.animationTime must be a non-zero number"); if (options.exponential) {