https://perchance.org/hash-links-plugin#edit

It’s stuck in this while loop. I’ve seen it happen a couple of times before; it blocks saving too. But normally refreshing/reloading does the trick. For whatever reason, here it always gets stuck no matter what, which means I can’t fix a bug in my code, which means that entire plugin and anything that imports it (all my generator pages) breaks entirely. Editing them, I can remove stuff to try to temp fix it, it seems to save, then I reload and the save hasn’t actually saved, and there’s nothing I can do about it 😬

while (!window[sadf5456])
  await new Promise(r=>window[lkjsfh83](r, 1000));

This is where it’s stuck. Something to do with waiting for “riot” to load? ARRRRGHGHG!

  • @wthit56OP
    link
    English
    11 month ago

    Everything is loading now. Phew!

    What was causing that?

    • @perchanceM
      link
      English
      11 month ago

      What was causing that?

      The iframe signals the the parent/editor frame when it’s finished loading, but the error in the dependency caused the iframe to never send that signal, because I didn’t try/catch it properly.

      • @wthit56OP
        link
        English
        11 month ago

        Ah I see. Well done, thanks for sorting it 👍