Fix keyboard shortcut for editing
This commit is contained in:
parent
665bf25b2b
commit
b91b22e5bb
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
window.onload = function () {
|
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) {
|
if (adminLinkElement === undefined || adminLinkElement === null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue