diff options
author | 0neGal <mail@0negal.com> | 2022-05-16 20:14:42 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-05-16 20:18:41 +0200 |
commit | 716a05ed8673302129aecfc10f680cbf1fa882c7 (patch) | |
tree | 1f49f082de5969a6c8314a0e11a3f8aa739f9525 /src/utils.js | |
parent | 0b893f9f2b01196b583222df072ae51631457649 (diff) | |
download | Viper-716a05ed8673302129aecfc10f680cbf1fa882c7.tar.gz Viper-716a05ed8673302129aecfc10f680cbf1fa882c7.zip |
majorly improved performance
Instead of setting the innerHTML every single time an element get added
it now just appends them like you should be doing, but I was lazy when I
wrote the original code I guess.
Not only does this improve performance, but it also fixes the CSS fade
animation not making every mod element/entry flicker, and instead now it
only does it on the new ones, like intended.
Diffstat (limited to 'src/utils.js')
0 files changed, 0 insertions, 0 deletions