Make WordPress Core

Changeset 37632


Ignore:
Timestamp:
06/03/2016 04:53:21 AM (8 years ago)
Author:
pento
Message:

Editor: 'undefined' !== 'undefiend'

Fix a typo in [37630].

See #36662.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wplink/plugin.js

    r37630 r37632  
    159159
    160160                editToolbar.on( 'show', function() {
    161                     if ( typeof window.wpLink === 'undefiend' || ! window.wpLink.modalOpen ) {
     161                    if ( typeof window.wpLink === 'undefined' || ! window.wpLink.modalOpen ) {
    162162                        window.setTimeout( function() {
    163163                            var element = editToolbar.$el.find( 'input.ui-autocomplete-input' )[0],
     
    476476                $linkNode, href, edit;
    477477
    478             if ( typeof window.wpLink !== 'undefiend' && window.wpLink.modalOpen ) {
     478            if ( typeof window.wpLink !== 'undefined' && window.wpLink.modalOpen ) {
    479479                editToolbar.tempHide = true;
    480480                return;
Note: See TracChangeset for help on using the changeset viewer.