Skip to content

Commit

Permalink
👍 Frontend js support
Browse files Browse the repository at this point in the history
  • Loading branch information
juzaweb committed May 1, 2024
1 parent c373d00 commit 591b44a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion resources/assets/js/helpers/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ function show_message(response, append = false)
return;
}

let close = typeof juzaweb === 'undefined' ? 'Close' : (juzaweb?.lang?.close || 'Close');
let msgHTML = `<div class="alert alert-${msg.status ? 'success' : 'danger' } jw-message">
<button type="button" class="close" data-dismiss="alert" aria-label="${juzaweb.lang.close}">
<button type="button" class="close" data-dismiss="alert" aria-label="${close}">
<span aria-hidden="true">&times;</span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion resources/assets/public/js/custom.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 591b44a

Please sign in to comment.