Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
xmeroriginals authored Sep 22, 2024
1 parent 942d17f commit 59f0ee5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions extensions/XmerOriginals/sweetalert.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @turbowarp/[email protected]
// Name: Sweet Alert
// ID: sweetalert
// Description: It allows you to send modern alerts using the Sweet Alert library.
Expand Down Expand Up @@ -76,7 +75,7 @@
showAlert(args) {
const { TITLE, TEXT, BTEXT, TYPE } = args;

Swal.fire({
window.Swal.fire({
title: TITLE,
text: TEXT,
icon: TYPE,
Expand All @@ -88,7 +87,7 @@
const { QUESTION, DEFAULT_TEXT, EMTEXT, TYPE } = args;

return new Promise((resolve) => {
Swal.fire({
window.Swal.fire({
title: QUESTION,
input: 'text',
inputPlaceholder: DEFAULT_TEXT,
Expand Down

0 comments on commit 59f0ee5

Please sign in to comment.