Skip to content

Commit

Permalink
Change noHash to hash: false
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Feb 27, 2016
1 parent b9bcd8f commit 0fd6493
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/js/settings/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0fd6493

Please sign in to comment.