Reputation: 1156
I have created a website with wordpress and i have a bulleted list on it as follows:
Pros
The problem is sometimes (like each fifth time) when i load the page in Chrome, the letters of the word Pros
are wrong like Qspt
. See the following picture:
Does anybody have an idea?
Upvotes: 2
Views: 148
Reputation: 1156
Your hints got me on the right path. It was a javascript issue in 'jquery.appear':
if ($('.review-wrapper').length) {
$('.review-wrapper').appear().on('appear', function(event) {
// this element is now inside browser viewport
var $this = $(this);
if ($this.hasClass('delay-animation')) {
$this.removeClass('delay-animation');
}
});
$.force_appear(); // if it's right there on document.ready
}
It seems that force_appear
was responsible for the wrong letters. So I am using force_process
option now instead:
if ($('.review-wrapper').length) {
$('.review-wrapper').appear({force_process: true}).on('appear', function(event) {
// this element is now inside browser viewport
var $this = $(this);
if ($this.hasClass('delay-animation')) {
$this.removeClass('delay-animation');
}
});
}
Upvotes: 1