Such a duplicate could appear if disabling / enabling the addon from Firefox addon page, or reloading from the debugging one. The patch simply removes the element from DOM if already existing before adding a fresh new one.
It should fix issue revealed by @gurumukhi in PR #22.
Such a duplicate could appear if disabling / enabling the addon from Firefox addon page, or reloading from the debugging one. The patch simply removes the element from DOM if already existing before adding a fresh new one.
It should fix issue revealed by @gurumukhi in PR #22.