Strange reloading after loading page that includes jquery

Hi @andresb, from your code I don’t see why the page would reload, but as for the flickering you’re explicitly hide()ing the entire page and then show()ing it again once the DOM content got loaded:

$('html, body').hide()

$(document).ready(function () {
  // ...
  $('html, body').show()
})

Is there any reason for blanking the screen like this? Otherwise just try to remove the hiding and showing.

That’s just the jQuery library you’re using there.

2 Likes