forked from cybrespace/pinafore
* 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 |
||
|---|---|---|
| .. | ||
| build | ||
| inline-script | ||
| routes | ||
| scss | ||
| static | ||
| thirdparty/font-awesome-svg-png | ||
| client.js | ||
| server.js | ||
| service-worker.js | ||