mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
In some very rare cases, the header element doesn't yet have the bg when this code is run. This PR adds a simple retry mechanism. No tests because this relies on specific load timing from the browser.