Skip to content

Commit 57b5955

Browse files
committed
wip
1 parent bfc02a2 commit 57b5955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodered.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function render_page( $args ) {
122122
// Enforce username and password, remove PHP version
123123
$msg .= '
124124
<script>
125-
$(function() {
125+
document.addEventListener("DOMContentLoaded", function() {
126126
let borderColor = $("#webapp_nodered_username").css("border-color");
127127
let toolbar = $(".l-center.edit").html();
128128
function nr_validate() {

0 commit comments

Comments
 (0)