We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2190059 commit 3755850Copy full SHA for 3755850
graphene_django/templates/graphene/graphiql.html
@@ -32,7 +32,7 @@
32
33
// Collect the URL parameters
34
var parameters = {};
35
- window.location.search.substr(1).split('&').forEach(function (entry) {
+ window.location.hash.substr(1).split('&').forEach(function (entry) {
36
var eq = entry.indexOf('=');
37
if (eq >= 0) {
38
parameters[decodeURIComponent(entry.slice(0, eq))] =
@@ -41,7 +41,7 @@
41
});
42
// Produce a Location query string from a parameter object.
43
function locationQuery(params) {
44
- return '?' + Object.keys(params).map(function (key) {
+ return '#' + Object.keys(params).map(function (key) {
45
return encodeURIComponent(key) + '=' +
46
encodeURIComponent(params[key]);
47
}).join('&');
0 commit comments