Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
IPdotSetAF committed Apr 12, 2024
1 parent 2b04770 commit 0002182
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ window.onload = function () {

//MARK: Options
var gui;
var defaultOptions;
var options = {
ui_rain_matrixSpeed: 24,
fpsInterval: calculateFpsInterval(24),
Expand Down Expand Up @@ -96,7 +95,6 @@ window.onload = function () {

//MARK: GUI
function drawGui() {
defaultOptions = JSON.parse(JSON.stringify(options));
const params = getUrlParams();

readProjectConfig().then((config) => {
Expand Down Expand Up @@ -741,8 +739,8 @@ window.onload = function () {
if (params.get(key) === value)
params.delete(key);
});

return window.location.protocol + "//" + window.location.host + "/?" + params.toString();
debugger;
return window.location.protocol + "//" + window.location.host +"/"+window.location.pathname+ "/?" + params.toString();
}

function copyToClipboard(text) {
Expand Down

0 comments on commit 0002182

Please sign in to comment.