We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08b93a9 commit 3e338c3Copy full SHA for 3e338c3
1 file changed
ghost.php
@@ -171,8 +171,7 @@ public function render_page( $args ) {
171
// Enforce username and password, remove PHP version
172
$msg .= '
173
<script>
174
- (function($){
175
- (function() {
+ document.addEventListener("DOMContentLoaded", function() {
176
$("label[for=webapp_php_version]").parent().css("display", "none");
177
let borderColor = $("#webapp_ghost_fullname").css("border-color");
178
let toolbar = $(".l-center.edit").html();
@@ -225,8 +224,7 @@ function nr_validate() {
225
224
}, 500)
226
});
227
nr_validate();
228
- });
229
- })(jQuery);
+ });
230
</script>
231
';
232
}
0 commit comments