update
This commit is contained in:
@@ -10,7 +10,7 @@ function j_button_group(h) {
|
||||
}
|
||||
|
||||
// primary, secondary, success, danger, warning, info, light, dark, white
|
||||
function j_button(id, text, data={}, color='success', outline=true, small=false) {
|
||||
function j_button(id, text, data={}, color='primary', outline=true, small=false) {
|
||||
var str = '<button id="'+id+'" name="'+id+'" class="btn btn-sm btn';
|
||||
if (outline) {
|
||||
str += '-outline';
|
||||
@@ -28,7 +28,7 @@ function j_button(id, text, data={}, color='success', outline=true, small=false)
|
||||
return str;
|
||||
}
|
||||
|
||||
function j_button_small(id, text, data={}, color='success', outline=true) {
|
||||
function j_button_small(id, text, data={}, color='primary', outline=true) {
|
||||
return j_button(id, text, data, color, outline, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user