Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #31701, comment 24


Ignore:
Timestamp:
03/24/2015 06:52:11 PM (10 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31701, comment 24

    v1 v2  
    33Oh, another thing. Not a huge deal but.. Currently with SCRIPT_DEBUG on we are waiting for twemoji.js to fully load before starting to load wp-emoji.js. We should load both at the same time and then wait to initialize wp-emoji when twemoji.js is fully loaded.
    44
    5 So `waitForTwemoji()` should actually be in wp-emoji.js, before it checks document.readyState. Patch coming up.
     5So `waitForTwemoji()` should actually be in wp-emoji.js, after it checks document.readyState. Patch coming up.