• Resolved cheekyboots

    (@cheekyboots)


    Hi,
    Looks like if you check the “use loading gif” option:
    1. it shows it when someone clicks the button
    2. but also on every single button as the page loads.

    I’d like to not have the second effect happen, because I’m using it on a layout with many posts on one page and so it’s distracting. I’m not sure why it would need to use JS to load the page initially anyway, since PHP can pull the data, right? Why use AJAX for that?

    https://www.ads-software.com/plugins/favorites/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    The data is pulled using PHP initially, but if page caching is enabled, the rendered buttons/data will most likely be incorrect. The AJAX call updates the buttons on load to counter this.

    Regardless, the latest release includes an option to disable the loading indication on page load. It is now turned off by default.

    Thread Starter cheekyboots

    (@cheekyboots)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘disable loading gif on initial page load?’ is closed to new replies.