FS-8087 #comment pass valid res to callback

This commit is contained in:
Anthony Minessale
2015-08-28 12:06:11 -05:00
parent 6831fa7015
commit f669256317
2 changed files with 2 additions and 2 deletions

View File

@@ -1101,7 +1101,7 @@ var iceTimer;
if (cached) {
$.FSRTC.validRes = $.parseJSON(cached);
console.log("CACHED RES FOR CAM " + cam, $.FSRTC.validRes);
return func ? func() : null;
return func ? func($.FSRTC.validRes) : null;
}