Home » Forum » Bug Report and Feature Requests

Forum: Bug Report and Feature Requests

Story comments date bug

PlaysWithWires 🚫
Updated:

Not sure if this is server or client side...
(Story link chosen simply because I just read it)
chapter 10
The comments all have a date at the top right.
Click 2 for the next batch - there are no dates.
Click 1 for the first batch - there are no dates.
Refresh the page - the dates are back.

typo edit

Replies:   joyR  Gauthier
joyR 🚫

@PlaysWithWires

The comments all have a date at the top right.
Click 2 for the next batch - there are no dates.
Click 1 for the first batch - there are no dates.
Refresh the page - the dates are back.

Yup, does exactly as described.

Gauthier 🚫

@PlaysWithWires

@Lazeez

https://www.w3.org/TR/2008/WD-html5-20080610/dom.html#innerhtml0
Note: script elements inserted using innerHTML do not execute when they are inserted.

You need to insert DOM node to solve that.
jquery has a bit of code to force the execution by converting the string to DOM nodes see parseHTML. But I would recommand using angular or vuejs.

Back to Top

 

WARNING! ADULT CONTENT...

Storiesonline is for adult entertainment only. By accessing this site you declare that you are of legal age and that you agree with our Terms of Service and Privacy Policy.


Log In