toolbox-team / reddit-moderator-toolbox-legacy

LEGACY VERSION do not use
http://www.reddit.com/r/toolbox
Apache License 2.0
66 stars 40 forks source link

Immediately return from the setInterval if !consoleShowing #783

Closed agentlame closed 7 years ago

agentlame commented 8 years ago

I'm a dumbass. This should return in the first line if (!consoleShowing).

Should be a big performance improvement and fix some issues with the new console using CodeMirror.

eritbh commented 7 years ago

So literally just that?

agentlame commented 7 years ago

...yeah. No idea why I made an issue for it, when typing the fix was quicker. :/

eritbh commented 7 years ago

:V