Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Sanitize URL composing. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | timeline-keyboard-navigation |
| Files: | files | file ages | folders |
| SHA3-256: |
6c16d2ec71ed2a6a5d005265d15e08ba |
| User & Date: | florian 2022-07-31 08:14:00.000 |
Context
|
2022-07-31
| ||
| 08:20 | Refactor a function for later reuse. ... (check-in: 2087ad109e user: florian tags: timeline-keyboard-navigation) | |
| 08:14 | Sanitize URL composing. ... (check-in: 6c16d2ec71 user: florian tags: timeline-keyboard-navigation) | |
| 07:58 | Replace the tooltip 'unload' handler with 'pageshow' and 'pagehide' handlers so that restoring the focused entry on back/forward navigation also works with FF. ... (check-in: 5e545a9f07 user: florian tags: timeline-keyboard-navigation) | |
Changes
Changes to src/graph.js.
| ︙ | ︙ | |||
917 918 919 920 921 922 923 |
}
document.cookie = 'fossil_timeline_kbnav=1;path=/';
var id = kf.value;
if( id && dx==0 ){
var ri = focusRowinfoFromId(id);
if( ri ){
var page = key==kVIEW ? '/info/' : '/timeline?c=';
| | | 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 |
}
document.cookie = 'fossil_timeline_kbnav=1;path=/';
var id = kf.value;
if( id && dx==0 ){
var ri = focusRowinfoFromId(id);
if( ri ){
var page = key==kVIEW ? '/info/' : '/timeline?c=';
var href = ri.baseurl + page + encodeURIComponent(ri.hash);
if( href!=location.href.slice(-href.length) ){
location.href = href;
return;
}
}
}
else if ( id && dx!=0 ){
|
| ︙ | ︙ |