Skip to content

Commit

Permalink
chore: esx_progressbar updated to version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Feb 29, 2024
1 parent 2762250 commit d7b43ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions server-data/resources/[esx]/esx_progressbar/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
fx_version("adamant")

game("gta5")
author("BPT-Framework")
author("bitpredator")
lua54("yes")
description("BPT Progressbar")
version("1.0.0")
version("1.0.1")
description("Progressbar")

client_scripts({ "Progress.lua" })
shared_script("@es_extended/imports.lua")
Expand Down
4 changes: 2 additions & 2 deletions server-data/resources/[esx]/esx_progressbar/nui/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ window.addEventListener("message", function ({ data }) {
}
}

elems.infoMessage.innerHTML = message
elems.infoMessage.innerHTML = message;

Check failure

Code scanning / CodeQL

Client-side cross-site scripting High

Cross-site scripting vulnerability due to
user-provided value
.
elems.notifyInfo.style.display = "block";

const start = new Date();
Expand All @@ -66,4 +66,4 @@ window.addEventListener("message", function ({ data }) {
clearTimeout(this.timeoutID);
timeoutValue = 0;
}
});
});

0 comments on commit d7b43ab

Please sign in to comment.