Skip to content

Commit

Permalink
replaced document.ready with jQuery(function()
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Feb 19, 2022
1 parent 2970526 commit 0b579ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions script.js
Expand Up @@ -370,15 +370,14 @@ var dokuBase = location.host + DOKU_BASE;
);
}

jQuery(document).ready(function() {
jQuery(function() {
if(JSINFO['hide_captcha_error'] =='hide') {
jQuery("div.error").hide();
}
});


jQuery(document).ready(function(){

jQuery(function() {
jQuery( "#editor_height" ).keydown(function(event) {
if ( event.which == 13 ) {
event.preventDefault();
Expand Down

0 comments on commit 0b579ae

Please sign in to comment.