EnlighterJS / Plugin.WordPress

:package: Official WordPress Plugin of EnlighterJS
http://wordpress.org/plugins/enlighter/
GNU General Public License v2.0
118 stars 17 forks source link

The webpage would be blank the first time I open the page until I refresh it #196

Closed fatsky closed 4 years ago

fatsky commented 4 years ago

Every time when I open a page with Enlighter, it would become a blank page at first.And then it will work properly when I refresh.The problem disappeared when this plugin was disabled.

AndiDittrich commented 4 years ago

maybe an issue with MooTools and other js libraries on your website.

did you've take a look into the browsers error console ?

can you post a link to a demo site ?

fatsky commented 4 years ago

I changed my theme and found the problem fixed. But I still don't know why. Here's my website with the problem: blog.icysky.site. You will see the static cache at first now(Just like that everything works well except enlighter).

AndiDittrich commented 4 years ago

it's caused by the ajax based page loading and MooTools framework used by EnlighterJS v2

you have 2 possibilities to solve the issue: