diff --git a/public_html/js/BrowsingSettings.js b/public_html/js/BrowsingSettings.js index 957e18aa..5311ba43 100644 --- a/public_html/js/BrowsingSettings.js +++ b/public_html/js/BrowsingSettings.js @@ -53,7 +53,11 @@ App.BrowsingSettings = function( } try { - settings = JSON.parse(string); + if (typeof(string) === 'string' || string instanceof String) { + settings = JSON.parse(string); + } else { + settings = string; + } } catch (e) { } }