webfui
webfui copied to clipboard
When code is reloaded existing event listeners are not removed, causing webfui to behave erratic
This commit removes any previously added event listeners on the form plugin. I haven't touched the mouse or scrolling plugin but I assume a similar change would be required.
See here for an example: https://github.com/sdevijver/webfui-repl