I assigned values in JS code to header/footer text fields, but when accessing another page either trough menu or using wix-location, the values are lost. In preview mode, the fields values remain, but in live mode it looks like the fields are initialized and look empty.
Please advise if there is any known limitation or any bypass.
What about using such Values on a PUBLIC.JS-file?
A public.js-file can be coneccted to backend/frontend & masterpage.
Header = Masterpage!