mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Previously we were using `$elem.find(...).not($elem.find(...))`. This took approximately 2ms on my machine with a test post. This commit switches to using a native querySelectorAll method, which takes less than 0.5ms on the same test post. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |