pinafore/src/routes
Stephane Zermatten 2656e11bb0 fix: Follow-up for pull request #870 (#910)
* Cache main-nav in scrollIntoView.js.

This change avoids continuously calling document.getElementById for the
same element.

* Fix firstVisibleElementIndex to always return a dictionary.

Before this change, firstVisibleElementIndex would return -1 if it
doesn't find anything. This made no sense since this function returns a
dictionary on success.

With this change, the function always returns a dictionary with the
expected keys.

* lint fix
2019-01-26 10:14:27 -08:00
..
_a11y feat: wrap long posts with spoilers (#873) 2019-01-13 10:47:07 -08:00
_actions feat: add more keyboard shortcuts (#904) 2019-01-19 16:40:31 -08:00
_api fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
_components fix: fix notification m/p keyboard shortcuts (#907) 2019-01-19 23:52:39 -08:00
_database perf: move indexeddb operations to async module (#813) 2018-12-15 17:13:40 -08:00
_intl fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
_pages feat: add setting to disable hotkeys (#889) 2019-01-13 14:02:15 -08:00
_react fix(emoji): make emoji picker more like Mastodon's (#842) 2018-12-18 18:24:05 -08:00
_static feat: wrap long posts with spoilers (#873) 2019-01-13 10:47:07 -08:00
_store feat: add setting to disable hotkeys (#889) 2019-01-13 14:02:15 -08:00
_thirdparty fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
_utils fix: Follow-up for pull request #870 (#910) 2019-01-26 10:14:27 -08:00
accounts/[accountId] fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
community fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
lists fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
settings feat: add hotkey help to settings (#886) 2019-01-13 11:35:04 -08:00
statuses/[statusId] fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
tags fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
_error.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
_layout.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
blocked.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
favorites.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
federated.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
index.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
local.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
muted.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
notifications.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
pinned.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
requests.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
search.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00