Minor fixes

This commit is contained in:
js0ny 2025-04-16 20:33:09 +01:00
parent 94461cdebb
commit 78400e4a6a
8 changed files with 12 additions and 11 deletions

View file

@ -345,7 +345,7 @@ unmap("yma")
unmap("ymc")
unmap("ymv")
map("ym", "yank link as markdown", function () {
mapkey("ym", "yank link as markdown", function () {
const url = new URL(window.location.href);
const title = document.title;
Clipboard.write(`[${title}](${url.origin + url.pathname})`);