Emoji: rename the exclude class to wp-exclude-emoji.

Props Clorith. See #32197.

git-svn-id: https://develop.svn.wordpress.org/trunk@32337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-05-04 00:04:15 +00:00
parent 992cc2e796
commit 49626f348a
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
$visualEditor = $(),
$textTop = $( '#ed_toolbar' ),
$textEditor = $( '#content' ),
$textEditorClone = $( '<div id="content-textarea-clone" class="wp-no-emoji"></div>' ),
$textEditorClone = $( '<div id="content-textarea-clone" class="wp-exclude-emoji"></div>' ),
$bottom = $( '#post-status-info' ),
$menuBar = $(),
$statusBar = $(),

View File

@ -70,7 +70,7 @@
node = node.parentNode;
}
if ( ! node || ( node.className && node.className.indexOf( 'wp-no-emoji' ) !== -1 ) ) {
if ( ! node || ( node.className && node.className.indexOf( 'wp-exclude-emoji' ) !== -1 ) ) {
continue;
}