mirror of
https://github.com/discourse/discourse.git
synced 2025-01-20 13:04:59 +08: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>`) |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |