mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 13:39:36 -06:00
d0d651d8bc
If there's already a `LockOn` instance, clear its lock before creating creating a new one. Fixes a shaky viewport effect after certain transitions. Includes: * Slight refactor (elementId wasn't an id, but a selector - it included the "#" prefix) * Add support for a[name=X] anchors in `jumpToPost` * Scope down anchors to the #main element (Embeded fontawesome sprites are causing conflicts, e.g. when given `bed` anchor, `<a name="bed">` was at odds with `<symbol id="bed" viewBox="0 0 640 512">(…)</symbol>`) |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |