Skip to content

Commit

Permalink
默认选中checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
q4speed committed May 28, 2020
1 parent 102164d commit c4d713b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ $('#record_download').click(e => {
domainList.forEach(function (domain) {
$('#checkboxs').prepend(
"<div class=\"custom-control custom-checkbox\">\n" +
" <input type=\"checkbox\" class=\"custom-control-input\" name=\"domains\" id=\"" + domain + "\">\n" +
" <input type=\"checkbox\" class=\"custom-control-input\" name=\"domains\" id=\"" + domain + "\" checked>\n" +
" <label class=\"custom-control-label\" for=\"" + domain + "\">" + domain + "</label>\n" +
" </div>"
)
Expand Down

0 comments on commit c4d713b

Please sign in to comment.