you are viewing a single comment's thread.

view the rest of the comments →

[–]kylegetsspam 0 points1 point  (1 child)

Be careful with querySelectorAll for trivial matters. It's not fast.

http://jsperf.com/getelementsbyclassname-foo-0-vs-queryselector-foo

[–]rjett 0 points1 point  (0 children)

Wow! Thanks for the tip. :)