feat: change "Nouvelle fenêtre" button label to "pop-out" for consistency
This commit is contained in:
parent
da9b1f136f
commit
94deb08e16
@ -2607,7 +2607,7 @@
|
|||||||
|
|
||||||
const openNewWindowBtn = el("button", { class: "btn-action", title: "Ouvrir dans une nouvelle fenêtre" }, [
|
const openNewWindowBtn = el("button", { class: "btn-action", title: "Ouvrir dans une nouvelle fenêtre" }, [
|
||||||
icon("external-link", 14),
|
icon("external-link", 14),
|
||||||
document.createTextNode("Nouvelle fenêtre"),
|
document.createTextNode("pop-out"),
|
||||||
]);
|
]);
|
||||||
openNewWindowBtn.addEventListener("click", () => {
|
openNewWindowBtn.addEventListener("click", () => {
|
||||||
const popoutUrl = `/popout/${encodeURIComponent(data.vault)}/${encodeURIComponent(data.path)}`;
|
const popoutUrl = `/popout/${encodeURIComponent(data.vault)}/${encodeURIComponent(data.path)}`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user