Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter watskebart

    (@watskebart)

    I worked around this issue by changing a bit of the code in foyer-public-min.js.

    A made it so that it will refresh the whole browser window every 9min (because of 6 slides of 30sec), because the issue only arrises after the 5min content refresh.

    I changed:
    major_refresh_timeout=setTimeout(foyer_display_reload_window,288e5)
    to (changed setTimeout to window.setInterval + time)
    major_refresh_timeout=window.setInterval(foyer_display_reload_window,54e4)

    An set this line from 5min to 8hours:
    foyer_loader_intervalObject=window.setInterval(foyer_display_load_data,3e5)
    to
    foyer_loader_intervalObject=window.setInterval(foyer_display_load_data,288e5)

    I rather have a whole window refresh than content not showing after 5 minutes.

    Shortcodes work as well when using this workaround. I really hope the foyer_display_load_data function can be improved.

    • This reply was modified 5 years, 1 month ago by watskebart.
    Thread Starter watskebart

    (@watskebart)

    I settled with using the Classic editor.

    Screenshot image in a post when using Gutenberg:
    Screenshot image

    Screenshot Chrome F12:
    Screenshot F12

    Screenshot Chrome F12 manually edited the height from 0 to 300:
    Screenshot F12 manual edit

    • This reply was modified 5 years, 1 month ago by watskebart.
Viewing 2 replies - 1 through 2 (of 2 total)