重构js
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function common_alert_(text, class_str) {
|
||||
function common_alert(text, class_str) {
|
||||
if (!class_str) {
|
||||
class_str = 'alert-warning'
|
||||
}
|
||||
@@ -17,6 +17,6 @@ function common_alert_(text, class_str) {
|
||||
}, 1500)
|
||||
}
|
||||
|
||||
function primary_alert_(text) {
|
||||
common_alert_(text, 'alert-primary')
|
||||
function primary_alert(text) {
|
||||
common_alert(text, 'alert-primary')
|
||||
}
|
||||
Reference in New Issue
Block a user