From 11e313dc5478e9b6d4bce68e3df15c69b2a2ad39 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Fri, 4 Sep 2026 10:17:53 +0200 Subject: [PATCH] Don't set the commit-snapshot-link title with script See https://github.com/whatwg/html/pull/12904 --- resources.whatwg.org/commit-snapshot-shortcut-key.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources.whatwg.org/commit-snapshot-shortcut-key.js b/resources.whatwg.org/commit-snapshot-shortcut-key.js index d119257dd..940f00724 100644 --- a/resources.whatwg.org/commit-snapshot-shortcut-key.js +++ b/resources.whatwg.org/commit-snapshot-shortcut-key.js @@ -1,5 +1,5 @@ // Usage: assuming you have commit snapshots set up and building for your spec, include a link like -// `Snapshot as of this commit`. +// `Snapshot as of this commit`. // // Then include this script with // ``. @@ -12,7 +12,6 @@ var snapshotLink = document.querySelector('a#commit-snapshot-link'); var snapshotUrl = snapshotLink.href; - snapshotLink.title = 'You can also press the \'y\' key'; window.addEventListener('keydown', function (e) { if (e.keyCode === keyCode) { location.href = snapshotUrl + location.hash;