Skip to content

Commit 68e8e93

Browse files
committed
Update JQuery to 4.0.0
1 parent 459332b commit 68e8e93

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/fedoraproject/javapackages/validator/MainTmt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public HtmlTablePrintStream(OutputStream os, TestResult result) throws IOExcepti
8989
ps.append("""
9090
<!DOCTYPE html>
9191
<html>
92-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
92+
<script src="https://code.jquery.com/jquery-4.0.0.min.js"></script>
9393
<script type="text/javascript">
9494
""");
9595
ps.append(filterJs);

src/main/resources/tmt_html/filter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ $(document).ready(function() {
44
$("#checkbox_warn").prop("checked", true);
55
$("#checkbox_fail").prop("checked", true);
66
$("#checkbox_error").prop("checked", true);
7-
$(".filter_checkbox").change(function() {
7+
$(".filter_checkbox").on("change", function() {
88
$("table").hide();
99
if (this.checked) {
1010
$("." + $(this).val()).show();
1111
} else {
1212
$("." + $(this).val()).hide();
1313
}
1414
$("table").show();
15-
}).change();
15+
}).trigger("change");
1616
});

0 commit comments

Comments
 (0)