From 7391561dcd28a84525eb8d928b95aef413c15ebb Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Wed, 10 Jul 2013 09:31:22 -0700 Subject: [PATCH] OpenSeadragon.now() returned undefined the first time; fixed --- src/openseadragon.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openseadragon.js b/src/openseadragon.js index d5688aed..34e6eb56 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -961,6 +961,8 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){ } else { $.now = function() { return new Date().getTime(); }; } + + return $.now(); },