Remove unused vars. See #31627.
git-svn-id: https://develop.svn.wordpress.org/trunk@31923 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
867237ca49
commit
c932690b40
@ -1,6 +1,6 @@
|
||||
( function( tinymce, wp, twemoji ) {
|
||||
tinymce.PluginManager.add( 'wpemoji', function( editor ) {
|
||||
var typing, match,
|
||||
var typing,
|
||||
env = tinymce.Env,
|
||||
ua = window.navigator.userAgent,
|
||||
isWin = ua.indexOf( 'Windows' ) > -1,
|
||||
@ -53,7 +53,7 @@
|
||||
typing = ( event.type === 'keydown' );
|
||||
} );
|
||||
|
||||
editor.on( 'input', function( event ) {
|
||||
editor.on( 'input', function() {
|
||||
if ( typing ) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user