mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 04:57:05 +00:00
FS-8087 #comment fix depth issue in cached json
This commit is contained in:
1 parent
63b4ae79c1
commit
17ee8dde70
2 files changed
+5
-4
No files matched your search
@@ -1105,9 +1105,10 @@ var iceTimer;
|
||||
var cached = localStorage.getItem("res_" + cam);
|
||||
|
||||
if (cached) {
|
||||
$.FSRTC.validRes = $.parseJSON(cached);
|
||||
console.log("CACHED RES FOR CAM " + cam, $.FSRTC.validRes);
|
||||
return func ? func($.FSRTC.validRes) : null;
|
||||
var cache = $.parseJSON(cached);
|
||||
$.FSRTC.validRes = cache.validRes;
|
||||
console.log("CACHED RES FOR CAM " + cam, cache);
|
||||
return func ? func(cache) : null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user