page code inspector: add actions to command palette (#5899)

This commit is contained in:
Christian Günter 2022-11-29 22:31:13 +01:00 committed by GitHub
parent 9e55f2cbf5
commit 693a264d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2458,7 +2458,8 @@ function enumerateUiActions() {
// - links inside forms
// - label links
// - command links
[].slice.call(document.querySelectorAll("form a, a.command"))
// - other header links
[].slice.call(document.querySelectorAll("form a, a.command, #header a"))
.filter(function(anchor){
return !!anchor.title || !!anchor.text;
}).forEach(function(anchor){