pinafore/src
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
..
build chore: refactor src files to src/ directory (#900) 2019-01-19 13:32:36 -08:00
inline-script chore: move inline-script to src (#917) 2019-01-26 10:14:15 -08:00
routes fix: Follow-up for pull request #870 (#910) 2019-01-26 10:14:27 -08:00
scss fix: increase custom scrollbar width (#914) 2019-01-26 09:34:16 -08:00
static chore: refactor src files to src/ directory (#900) 2019-01-19 13:32:36 -08:00
thirdparty/font-awesome-svg-png chore: refactor src files to src/ directory (#900) 2019-01-19 13:32:36 -08:00
client.js fix: fix NODE_ENV and webpack config (#818) 2018-12-15 19:21:20 -08:00
server.js chore: move inline-script to src (#917) 2019-01-26 10:14:15 -08:00
service-worker.js perf: avoid caching robots.txt in service worker (#820) 2018-12-16 09:35:02 -08:00