From 0fd64936eb2ecf93d8fc461efba1a69205636ae2 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 28 Feb 2016 09:32:23 +1300 Subject: [PATCH] Change noHash to hash: false --- src/js/settings/settings.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/js/settings/settings.js b/src/js/settings/settings.js index b03ec734..1dff6bec 100644 --- a/src/js/settings/settings.js +++ b/src/js/settings/settings.js @@ -164,8 +164,9 @@ Settings.onOpenConfig = function(e) { options = Settings.getBaseOptions(); return; } - var hash = encodeURIComponent(JSON.stringify(options)); - Pebble.openURL(url + (listener.params.noHash ? '' : '#' + hash)); + if (listener.params.hash !== false) + url += '#' + encodeURIComponent(JSON.stringify(options)); + Pebble.openURL(url); }; Settings.onCloseConfig = function(e) {