4 ms·
I can't remember why I did that, probably to keep the data separate from the rest of the code.
by louwrentius 4y ago
I can't remember why I did that, probably to keep the data separate from the rest of the code.
- chrismorgan 4y agoThe technique used means that it always takes a while to load it, as it’s reloading it after every change, which is generally taking around two seconds for me. You make it still worse by using 'change' and 'keyup' events, so any key press (e.g. left/right arrow) triggers it. It should use the 'input' event. Even if it were done as a separate page, it should still be shown or hidden via the CSS display property in order to avoid this reloading.
- louwrentius 4y agoThanks for the tip!