Skip to content

WishlistManager: fix prod error; fight MobileFrontend with setTimeout

MusikAnimal requested to merge mobile-frontend-hack into main

Production error had to do with updating the discussion link, which was recently reworked. Hence why it's High-priority

Added addEditLinkMobile() to keep its specialized needs outside of other code. The setTimout is hacky, and probably won't always work, but MF is apparently absent of hooks or other means to know when they're "done" setting things up. We could perhaps instead use a MutationObserver, but I think that'd be over doing it, maybe.

Anyway, this should work as expected for most users.

Bug: T370839

Merge request reports