diff options
Diffstat (limited to 'assets/js/miracles.min.js')
| -rw-r--r-- | assets/js/miracles.min.js | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/assets/js/miracles.min.js b/assets/js/miracles.min.js index 57dda1b..6965f95 100644 --- a/assets/js/miracles.min.js +++ b/assets/js/miracles.min.js @@ -132,6 +132,16 @@ function swDarkMode(scheme){ schemeGeter.addListener(swDarkMode); /** + * Alert + */ +function alertSend(msg) { + Toaster.toast(msg, { + color: '#666', + position: 'right-bottom' + }) +} + +/** * GoTop */ var GoTop = function () { @@ -231,15 +241,6 @@ function toggleDrawer() { } /** - * Alert - */ - -alertify.set('notifier','position', 'bottom-center'); -function alertSend(content, type) { - alertify.notify(content, type, 3); -} - -/** * Listen copy event and alert */ var copyAlertTime = 0; |
