Commit 147a972c authored by Nicolas Pernoud's avatar Nicolas Pernoud
Browse files

fix: filename on open modal

parent 215d74f2
Pipeline #6679 passed with stages
in 2 minutes and 52 seconds
......@@ -114,7 +114,7 @@ export class Open {
<div class="modal-card">
<header class="modal-card-head">
<button class="delete navbar-menu-icon" aria-label="close" id="${this.prefix}open-close"></button>
<p class="modal-card-title has-text-centered">${this.file.name}</p>
<p id="${this.prefix}filename" class="modal-card-title has-text-centered">${this.file.name}</p>
</header>
<section id="${this.prefix}content" class="modal-card-body is-paddingless flex-container"></section>
<footer class="modal-card-foot">
......@@ -140,5 +140,6 @@ export class Open {
${this.type == "video" ? /* HTML */ ` <video controls autoplay><source src="${this.url}?token=${token}" /></video> ` : ""}
${this.type == "text" ? /* HTML */ ` <textarea class="textarea" readonly>${content}</textarea> ` : ""}
`;
this.gid("filename").innerHTML = /* HTML */ `${this.file.name}`;
}
}
......@@ -32,7 +32,7 @@
<div class="navbar-brand">
<div class="navbar-item">
<a class="button is-primary is-rounded is-outlined" href="https://www.github.com/nicolaspernoud/Vestibule" target="_blank" rel="noopener noreferrer">
<span>4.3.38</span>
<span>4.3.39</span>
<span class="icon">
<svg
class="svg-inline--fa fa-github fa-w-16"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment