Skip to content

Commit

Permalink
url suffix fix, idk what im doing lol
Browse files Browse the repository at this point in the history
  • Loading branch information
TerraPrograms committed Nov 18, 2023
1 parent 704936f commit 8517ded
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/honkalculate.html
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
<script type="text/javascript" src="./calc/result.js?d5c7552b"></script>
<script type="text/javascript" src="./calc/adaptable.js?afeb3759"></script>
<script type="text/javascript" src="./calc/index.js?2377cbc8"></script>
<script type="text/javascript" src="./js/shared_controls.js?ffbeafce"></script>
<script type="text/javascript" src="./js/shared_controls.js?f5e6aa0d"></script>
<script type="text/javascript" src="./js/honkalculate_controls.js?23c996e5"></script>

<div style="clear:both;padding:20px;text-align:left">Created by Honko, maintained by Austin and Kris
Expand Down
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,7 @@ <h5>OHKO Colors</h5>
<script type="text/javascript" src="./calc/result.js?d5c7552b"></script>
<script type="text/javascript" src="./calc/adaptable.js?afeb3759"></script>
<script type="text/javascript" src="./calc/index.js?2377cbc8"></script>
<script type="text/javascript" src="./js/shared_controls.js?ffbeafce"></script>
<script type="text/javascript" src="./js/shared_controls.js?f5e6aa0d"></script>
<script type="text/javascript" src="./js/index_randoms_controls.js?34234c00"></script>
<script type="text/javascript" src="./js/moveset_import.js?7a7954dd"></script>
</div>
Expand Down
4 changes: 2 additions & 2 deletions dist/js/shared_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,10 +1082,10 @@ $(".gen").change(function () {
window.history.replaceState({}, document.title, window.location.pathname + (params.length ? '?' + params : ''));
}
} else {
params.set('gen', gen);
//params.set('gen', gen);
if (window.history && window.history.pushState) {
params.sort();
var path = window.location.pathname + '?' + params;
var path = window.location.pathname + params; //removed questionmark here
window.history.pushState({}, document.title, path);
gtag('config', 'UA-26211653-3', { 'page_path': path });
}
Expand Down
2 changes: 1 addition & 1 deletion dist/randoms.html
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@
<script type="text/javascript" src="./calc/result.js?d5c7552b"></script>
<script type="text/javascript" src="./calc/adaptable.js?afeb3759"></script>
<script type="text/javascript" src="./calc/index.js?2377cbc8"></script>
<script type="text/javascript" src="./js/shared_controls.js?ffbeafce"></script>
<script type="text/javascript" src="./js/shared_controls.js?f5e6aa0d"></script>
<script type="text/javascript" src="./js/index_randoms_controls.js?34234c00"></script>
<script type="text/javascript" src="./js/moveset_import.js?7a7954dd"></script>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/js/shared_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,10 +1082,10 @@ $(".gen").change(function () {
window.history.replaceState({}, document.title, window.location.pathname + (params.length ? '?' + params : ''));
}
} else {
params.set('gen', gen);
//params.set('gen', gen);
if (window.history && window.history.pushState) {
params.sort();
var path = window.location.pathname + '?' + params;
var path = window.location.pathname + params; //removed questionmark here
window.history.pushState({}, document.title, path);
gtag('config', 'UA-26211653-3', { 'page_path': path });
}
Expand Down

0 comments on commit 8517ded

Please sign in to comment.