Support » Plugin: Remove Uppercase Accents » Weird glitch

  • First of all, this is a good opportyunity to state that this plugin is a life-saver – I’ve been meaning to say this for a long time.

    There is weird glitch. For some reason, in a table generated by the Sportspress plugin and the Splash theme, the first page of the table appears perfect, but the second carries accents. See screenshots.

    Any idea? It’s on jQuery mode.

    When you get a minute, please, have a look at the page and the screenshots, here and here.
    Thanks again.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    I suspect that it is happening because of the way the table’s next page loads. When the page first loads, the script runs and removes the accents. When you click on page 2, though, the next entries replace the old ones on the table without a page refresh, so the script never runs again.

    The only practical workaround that I can think of is increasing the number of entries on that table. Given that there are 14 teams, in my opinion, it would make more sense to have them on a single view, without pagination, anyway.

    Thread Starter serpicopnpolycom

    (@serpicopnpolycom)

    Understandable. And there is no way to force the script to run again when loading the second sheet of the table nor to run for both sheets of the table when the page loads, right?

    I haven’t tried it but maybe if your table script has some callback which allows you to run additional JS when the prev/next page’s contents load, you could try and use that, running jQuery(':uppercase').removeAcc(). I don’t know if it would work, but it might worth a try (as long as the table script allows it).

    Thread Starter serpicopnpolycom

    (@serpicopnpolycom)

    Great, thank you! Will discuss it with our developer.
    Ever so grateful for everything.

    Let me know if it works for you. If it doesn’t, maybe it would be a nice addition to allow users to call the replacement on their own scripts.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.