The init method was called twice, resulting in the creation of 2 pointers, and the "remove" method only removes one of them, the one returned by getElementById which only returns the first element found.
This PR solves this issue by preventing plugins from being reinitialized.
The init method was called twice, resulting in the creation of 2 pointers, and the "remove" method only removes one of them, the one returned by getElementById which only returns the first element found.
This PR solves this issue by preventing plugins from being reinitialized.
Fixes #81