mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
Editor: 'undefined' !== 'undefiend'
Fix a typo in [37630]. See #36662. Built from https://develop.svn.wordpress.org/trunk@37632 git-svn-id: http://core.svn.wordpress.org/trunk@37600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
71a94a3871
commit
44c1f82df3
@ -158,7 +158,7 @@
|
||||
editToolbar = editor.wp._createToolbar( editButtons, true );
|
||||
|
||||
editToolbar.on( 'show', function() {
|
||||
if ( typeof window.wpLink === 'undefiend' || ! window.wpLink.modalOpen ) {
|
||||
if ( typeof window.wpLink === 'undefined' || ! window.wpLink.modalOpen ) {
|
||||
window.setTimeout( function() {
|
||||
var element = editToolbar.$el.find( 'input.ui-autocomplete-input' )[0],
|
||||
selection = linkNode && ( linkNode.textContent || linkNode.innerText );
|
||||
@ -475,7 +475,7 @@
|
||||
var linkNode = editor.dom.getParent( event.element, 'a' ),
|
||||
$linkNode, href, edit;
|
||||
|
||||
if ( typeof window.wpLink !== 'undefiend' && window.wpLink.modalOpen ) {
|
||||
if ( typeof window.wpLink !== 'undefined' && window.wpLink.modalOpen ) {
|
||||
editToolbar.tempHide = true;
|
||||
return;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-alpha-37631';
|
||||
$wp_version = '4.6-alpha-37632';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user