mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-09-02 16:03:46 +00:00
use popup class instead
This commit is contained in:
@@ -7,6 +7,7 @@ import {I18n} from "./i18n.js";
|
||||
import {ImagesDisplay} from "./disimg.js";
|
||||
import {File} from "./file.js";
|
||||
import {CDNParams} from "./utils/cdnParams.js";
|
||||
import {PopUp} from "./settings.js";
|
||||
|
||||
class Embed {
|
||||
type: string;
|
||||
@@ -406,7 +407,7 @@ class Embed {
|
||||
.then((r) => r.json())
|
||||
.then((_) => {
|
||||
if (_.message) {
|
||||
alert(_.message);
|
||||
new PopUp(_.message).show();
|
||||
button.textContent = I18n.invite.accept();
|
||||
button.disabled = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user