Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tikrack committed Sep 12, 2024
2 parents c7af830 + 5846853 commit 3cd5be4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,14 @@ const runSalam = (showOutput) => {

const code = elm_code.value.toString().trim();
if (!code) {
Swal.fire({
icon: "error",
title: "کد نمیتواند خالی اجرا شود",
text: "لطفا کدی نوشته و سپس ان را اجرا کنید",
});
if (showOutput === true) {
Swal.fire({
icon: "error",
title: "کد نمیتواند خالی اجرا شود",
text: "لطفا کدی نوشته و سپس ان را اجرا کنید",
});
}

return;
}

Expand Down

0 comments on commit 3cd5be4

Please sign in to comment.