Fix keyboard shortcut for editing

This commit is contained in:
Gabriel Augendre 2020-12-25 13:39:33 +01:00
parent 665bf25b2b
commit b91b22e5bb
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -1,5 +1,5 @@
window.onload = function () {
const adminLinkElement = document.querySelector(".article-detail .metadata a.admin-link");
const adminLinkElement = document.querySelector("a#admin-link");
if (adminLinkElement === undefined || adminLinkElement === null) {
return;
}