Skip to content

Commit 39525f1

Browse files
authored
Merge pull request #80 from eggpi/master
Don't use HTML-encoded URLs for API calls.
2 parents b1dc425 + 2e8600c commit 39525f1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

hashtagsv2/graphs/templates/graphs/graph.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ <h1>
219219
</div>
220220
</div>
221221
<hr>
222-
<script> var url_param = '{{ query_string }}'; </script>
223222
<script src="{% static 'js/graph.js' %}"></script>
224223
{% endif %}
225224
</div>

hashtagsv2/hashtags/static/js/graph.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ url_string = window.location.href;
1212
var url = new URL(url_string);
1313
var project = url.searchParams.get("project");
1414
var user = url.searchParams.get("user");
15+
var url_param = url.searchParams.toString();
1516

1617
// Hide top projects section when filtering on it
1718
if (project!=="" && project!==null){

0 commit comments

Comments
 (0)