Fix comment

This commit is contained in:
Dan Palmer 2018-08-30 20:32:38 +01:00
parent d1b734f07d
commit 24ebc20bf4
No known key found for this signature in database
GPG Key ID: DD869B28A1B7AA92

View File

@ -39,7 +39,7 @@ add "&raw" to the end of the URL within a browser.
decodeURIComponent(entry.slice(eq + 1)); decodeURIComponent(entry.slice(eq + 1));
} }
}); });
// Produce a Location query string from a parameter object. // Produce a Location fragment string from a parameter object.
function locationQuery(params) { function locationQuery(params) {
return '#' + Object.keys(params).map(function (key) { return '#' + Object.keys(params).map(function (key) {
return encodeURIComponent(key) + '=' + return encodeURIComponent(key) + '=' +