ryanpcmcquen / workflowyCodeFormatter

:hourglass_flowing_sand: A simple and lightweight solution to the WorkFlowy code dilemma. | https://addons.mozilla.org/en-US/firefox/addon/workflowy-code-formatter/ | https://chrome.google.com/webstore/detail/workflowy-code-formatter/kglihipcanlbglgikjghocmbbbbkfemn
Mozilla Public License 2.0
39 stars 6 forks source link

Tags are created ad infinitum on focusin event #2

Closed ryanpcmcquen closed 8 years ago

ryanpcmcquen commented 8 years ago

Because there is no conditional, each focusin event just creates a new tags, across a session this will mean 10s of tags being created, it is wasteful and inefficient.

ryanpcmcquen commented 8 years ago

Fixed by this conditional: https://github.com/ryanpcmcquen/workflowyCodeFormatter/commit/3623200af9f27c459a0ddfe3bb6ddc00f9b404ae#diff-3ebb58990efe8e373bad877091444b27R45