Changeset 33312
- Timestamp:
- 07/17/2015 08:16:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/src/wp-includes/js/wp-emoji.js
r32362 r33312 71 71 } 72 72 73 if ( ! node || ( node.className && node.className.indexOf( 'wp-exclude-emoji' ) !== -1 ) ) { 74 continue; 75 } 73 if ( ! node || node.nodeType !== 1 || ( 'ownerSVGElement' in node ) || 74 ( node.className && typeof node.className === 'string' && node.className.indexOf( 'wp-exclude-emoji' ) !== -1 ) ) { 76 75 77 if ( node && node.nodeType === 1 ) { 78 parse( node ); 79 } 76 continue; 77 } 78 79 parse( node ); 80 80 } 81 81 }
Note: See TracChangeset
for help on using the changeset viewer.