mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 13:41:03 +08:00
2153011cdb
Calling `window.getComputedStyle` during initialization causes the browser to pause and 'Recalculate Style'. On my machine, this adds about 7ms to boot time. Instead, we can check for the `rtl` class on the html element, which is added by the server, and doesn't require computing styles. |
||
---|---|---|
.. | ||
components | ||
lib | ||
mixins | ||
templates/components | ||
.gitkeep |