Closed RaphaelVRossi closed 3 years ago
After click on Go back from browser, the class 'is-loading' was not removed from body.
So, I found where is removed class 'is-loading' and changed this part:
$window.on('load pageshow', function() { window.setTimeout(function() { $body.removeClass('is-loading'); }, 100); });
to this:
window.setTimeout(function() { $body.removeClass('is-loading'); }, 200);
Because it's always adding 'is-loading' but not always removing.
Locally is working, after this change, but I don't if this change can break something, I will test more!
:smile:
Pull request created.
https://github.com/andrewbanchich/forty-jekyll-theme/pull/145
After click on Go back from browser, the class 'is-loading' was not removed from body.
So, I found where is removed class 'is-loading' and changed this part:
to this:
Because it's always adding 'is-loading' but not always removing.
Locally is working, after this change, but I don't if this change can break something, I will test more!
:smile: