Changes between Initial Version and Version 1 of Ticket #38697, comment 10
- Timestamp:
- 11/14/2016 03:35:36 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38697, comment 10
initial v1 2 2 3 3 I noticed on further testing that the button wasn't always loaded in time with the `wp-custom-header-video-loaded` event. I've added a `setTimeout` to make sure the button is present before injecting the SVG - it gets the job done, but it's not great. Suggestions for improvements are very welcome! 4 5 Edited to add: like the original patch, it needs to be tested with the latest patch on #38678 to work.