XF 1.4 XenForo.serverTimeInfo.now injected into Ad Code

arn

Active member
One of our ads isn't rendering correctly, due to what seems like Xenforo manipulating the DOM after rendering.

You can see "XenForo.serverTimeInfo.now" code being injected which is messing it up. How can I prevent this from happening?
 

Attachments

Mike

XenForo developer
Staff member
The way the code is written -- XenForo.serverTimeInfo.now = 1234; ... -- isn't how it shows up in XF. We set it up in using object syntax. Then, there are only 3 lines in the JS that actually touch it and they just read the value back.

I have to conclude it's not actually XF itself that is doing that.
 

Mike

XenForo developer
Staff member
That seems like a likely cause actually (given that it needs to update those values for the cache).
 
Reactions: arn
Top