When I add a JS code from a text file that I have, it pastes it in the JS file in 1 line instead of multiple lines.
I have tried to save the text file in multiple file formats and it is the same.
It only works if I copy the code from the forum.
It only happened when I copied a code from here to a text editor.
All other codes are fine.
Here is the code from Darko.
What could make this pasting in 1 line?
You can use this tool to format your code properly if that’s an idea.
If you want to minify JS, you can use this one.