Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38697, comment 10


Ignore:
Timestamp:
11/14/2016 03:35:36 PM (9 years ago)
Author:
laurelfulford
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38697, comment 10

    initial v1  
    22
    33I 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
     5Edited to add: like the original patch, it needs to be tested with the latest patch on #38678 to work.