Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Disable the HH:MM timestamps on narrow display using javascript. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
4a1a474f2ca0726893966e2691fef870 |
| User & Date: | drh 2019-01-26 02:50:59.266 |
Context
|
2019-01-26
| ||
| 02:59 | Provide a word-break in the middle of the long SHA3-256 strings shown on the /info page. ... (check-in: 357d5e82ad user: drh tags: trunk) | |
| 02:50 | Disable the HH:MM timestamps on narrow display using javascript. ... (check-in: 4a1a474f2c user: drh tags: trunk) | |
| 02:26 | Fix the chref() helper function so that it correctly renders the class attribute on the generated hyperlink with hyperlink display is delayed as an anti-robot defense. ... (check-in: f54b4bf1bd user: drh tags: trunk) | |
Changes
Changes to src/graph.js.
| ︙ | ︙ | |||
449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
lx = topObj.getElementsByClassName('timelineDateRow');
for(i=0; i<lx.length; i++){
var rx = lx[i];
if( rx.getAttribute('data-reordered') ) break;
rx.setAttribute('data-reordered',1);
rx.appendChild(rx.firstChild);
rx.insertBefore(rx.childNodes[1],rx.firstChild);
}
}
}
/* Look for all timeline-data-NN objects. Load each one and draw
** a graph for each one.
*/
| > > > > > > > | 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 |
lx = topObj.getElementsByClassName('timelineDateRow');
for(i=0; i<lx.length; i++){
var rx = lx[i];
if( rx.getAttribute('data-reordered') ) break;
rx.setAttribute('data-reordered',1);
rx.appendChild(rx.firstChild);
rx.insertBefore(rx.childNodes[1],rx.firstChild);
}
/* Do not show the HH:MM timestamps on very narrow displays
** as they take up too much horizontal space. */
lx = topObj.getElementsByClassName('timelineHistLink');
for(i=0; i<lx.length; i++){
var rx = lx[i];
rx.style.display="none";
}
}
}
/* Look for all timeline-data-NN objects. Load each one and draw
** a graph for each one.
*/
|
| ︙ | ︙ |