Revamped layout, Added lang selection, Added auto lang detection, Removed trash, Other minor improvements

Update .htaccess, body-1.php, and 50 more files...
This commit is contained in:
2023-06-01 17:20:44 +02:00
parent 6e9bf25866
commit 6fb621e550
52 changed files with 1047 additions and 654 deletions

View File

@@ -1,4 +1,3 @@
document.addEventListener("DOMContentLoaded", () => {
const eInputFiles = document.getElementById("tool-svg-to-png-files");
const eFileSelectButton = document.getElementById("tool-svg-to-png-btn-select");
@@ -13,7 +12,7 @@ document.addEventListener("DOMContentLoaded", () => {
const eFileConvertButton = document.getElementById("tool-svg-to-png-btn-convert");
// Propagating the button click to the input element
eFileSelectButton.onclick = function () {
eFileSelectButton.onclick = function() {
eInputFiles.click();
}
@@ -30,7 +29,7 @@ document.addEventListener("DOMContentLoaded", () => {
});
// Handling conversion
eFileConvertButton.onclick = function () {
eFileConvertButton.onclick = function() {
const canvas = document.getElementById('conversion-canvas');
const ctx = canvas.getContext('2d');