Skip to content

Commit

Permalink
🎨 Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Feb 1, 2024
1 parent 2b625fb commit bf02d33
Show file tree
Hide file tree
Showing 10 changed files with 7,550 additions and 3,848 deletions.
463 changes: 233 additions & 230 deletions server-data/resources/[esx_addons]/esx_property/client/cctv.lua

Large diffs are not rendered by default.

695 changes: 348 additions & 347 deletions server-data/resources/[esx_addons]/esx_property/client/furniture.lua

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
<!-- Cred: https://github.com/TerbSEC/FiveM-CoordsSaver/tree/master/html -->
<html>
<script>
function ready(fn) {
<script>
function ready(fn) {
if (document.readyState !== "loading") {
fn();
fn();
} else {
document.addEventListener("DOMContentLoaded", fn);
}}
document.addEventListener("DOMContentLoaded", fn);
}
}

ready(function () {
window.addEventListener("message", function (event) {
let node = document.createElement("textarea");
let selection = document.getSelection();
ready(function () {
window.addEventListener("message", function (event) {
let node = document.createElement("textarea");
let selection = document.getSelection();

node.textContent = event.data.link;
document.body.appendChild(node);
node.textContent = event.data.link;
document.body.appendChild(node);

selection.removeAllRanges();
node.select();
document.execCommand("copy");
selection.removeAllRanges();
node.select();
document.execCommand("copy");

selection.removeAllRanges();
document.body.removeChild(node);
});
selection.removeAllRanges();
document.body.removeChild(node);
});
</script>
});
</script>

</html>
Loading

0 comments on commit bf02d33

Please sign in to comment.