I've been noticing some UI issues every time a user logs in or out.
Basically right after you log in, some of the styles do not get picked up (i.e. logo becomes larger, recent-topic cards stop displaying content). Refreshing the page fixes the issue but this is not ideal.
Page loads content only when i refresh it
-
My theme is acting weird for some reason. When i click on menu to go to recent posts for example, it shows only header and sidebar i made and no content. Then I refresh page and it shows. Does anyone have an idea what can that be? @psychobunny @julian @trevor @a_5mith
-
What does the
/api/recent
route show? What version of templates.js are you running? Can you try v0.0.8? -
@julian
/api/recent
route shows this http://screencast.com/t/juIfZXPC and I am using templates.js 0.0.10 .
I just tried with templates.js 0.0.8 and it still happens the same thing. -
Strange, you have a few console errors that I'm noticing, but they don't mean much to me.
When did you notice it wasn't working? If you've changed something recently, maybe try looking there for any errors in your code? Alternatively, run
./nodebb dev
and check the logs. -
That error means that you've tried to include a lib that needs require.js, have a look here: https://community.nodebb.org/topic/2235/using-a-script-with-require-js-support/2
-
@a_5mith @psychobunny Thank you both.
So the error is removed and cache is cleared, so now it works like it should. ^^