star function

This commit is contained in:
chenyang
2022-07-23 08:46:47 +08:00
parent 690dcd2418
commit 08038cefd7
7 changed files with 43 additions and 27 deletions
+6 -4
View File
@@ -15,11 +15,13 @@ function common_alert(text, class_str) {
// append
$('body').append(content)
// clean
if (bundle_alert) {
setTimeout(function () {
setTimeout(function () {
if (bundle_alert) {
$('.alert').alert('close')
}, 1500)
}
} else {
$('.alert').fadeOut('slow')
}
}, 1500)
}
function primary_alert(text) {