Better styling of "Switch result tab" shortcut
This commit is contained in:
parent
3182375e06
commit
87df27d71e
3 changed files with 2 additions and 2 deletions
|
@ -2910,7 +2910,7 @@ function defocusSearchBar() {
|
|||
["-", "Collapse all sections"],
|
||||
].map(x => "<dt>" +
|
||||
x[0].split(" ")
|
||||
.map((y, index) => (index & 1) === 0 ? "<kbd>" + y + "</kbd>" : y)
|
||||
.map((y, index) => (index & 1) === 0 ? "<kbd>" + y + "</kbd>" : " " + y + " ")
|
||||
.join("") + "</dt><dd>" + x[1] + "</dd>").join("");
|
||||
var div_shortcuts = document.createElement("div");
|
||||
addClass(div_shortcuts, "shortcuts");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue