Renamed Fullscreen to Dialog
This commit is contained in:
parent
28e7f1bdc8
commit
583eb05247
15 changed files with 301 additions and 54 deletions
|
@ -1,4 +1,4 @@
|
|||
import { Fullscreen } from "./fullscreen.js";
|
||||
import { Dialog } from "./dialog.js";
|
||||
class File {
|
||||
owner;
|
||||
id;
|
||||
|
@ -27,7 +27,7 @@ class File {
|
|||
const img = document.createElement("img");
|
||||
img.classList.add("messageimg");
|
||||
img.onclick = function () {
|
||||
const full = new Fullscreen(["img", img.src, ["fit"]]);
|
||||
const full = new Dialog(["img", img.src, ["fit"]]);
|
||||
full.show();
|
||||
};
|
||||
img.src = src;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue