Line break added after AJAX action
-
Hello Jan,
I ran into another issue and hope you can help.
I use a simple comment rating plugin (Comment Like Dislike) on my site together with WP Ajaxify Comments.
Usually, it looks like this:
But when there’s an AJAX action performed by your plugin (new comment posted or go to page 2 of the comments), then it looks like this:
And when I examine the source code, then I can see that a “<br>” tag has been added all over sudden.
Code before:
Code after:
When I refresh the page by pressing F5, the “<br>” tags are gone again and everything looks normal.
You can test it for yourself here:
https://mydivision.net/2016/03/gewinnspiel-release-the-division/
(This is an old post that has enough comments for an active pagination. So just go to page 2 for the comments, and you’ll see what I’m talking about.)Do you have an idea what causes this problem?
It does not occur, when WP Ajaxify Comments is disabled.
Please help!Thanks
NilsEdit:
I did a quick and dirty fix by adding
.cld-common-wrap br {display: none !important;}
to my theme’s CSS.But you can still see it in the source code.
- The topic ‘Line break added after AJAX action’ is closed to new replies.