mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:03:13 +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>`) |
||
---|---|---|
.. | ||
admin | ||
confirm-new-email | ||
discourse/app | ||
discourse-common | ||
docs | ||
ember-addons | ||
locales | ||
pretty-text | ||
select-kit | ||
wizard | ||
activate-account.js | ||
admin.js.erb | ||
app-boot.js | ||
application.js | ||
auto-redirect.js | ||
browser-detect.js | ||
discourse-loader.js | ||
discourse-objects.js | ||
discourse-shims.js | ||
embed-application.js | ||
ember_include.js.erb | ||
ember_jquery.js | ||
env.js | ||
google-tag-manager.js | ||
google-universal-analytics.js | ||
handlebars-shim.js | ||
main_include_admin.js | ||
markdown-it-bundle.js | ||
onpopstate-handler.js | ||
polyfills.js | ||
pretty-text-bundle.js | ||
print-page.js | ||
service-worker.js.erb | ||
set-prototype-polyfill.js | ||
start-discourse.js | ||
template_include.js | ||
vendor.js | ||
widget-runtime.js | ||
wizard-application.js | ||
wizard-start.js | ||
wizard-vendor.js |