WordPress.org

Make WordPress Core

Changeset 31757


Ignore:
Timestamp:
03/12/2015 08:07:13 PM (6 years ago)
Author:
azaozz
Message:

TinyMCE wpViews: fix typos in the conditional checking which stylesheets to import.
Props mattheu. See #31464.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/mce-view.js

    r31742 r31757  
    479479                        if (
    480480                            link.href &&
    481                             link.href.indexOf( 'skins/lightgray/content.min.css' ) >= 0 &&
    482                             link.href.indexOf( 'skins/wordpress/wp-content.css' ) >= 0
     481                            link.href.indexOf( 'skins/lightgray/content.min.css' ) === -1 &&
     482                            link.href.indexOf( 'skins/wordpress/wp-content.css' ) === -1
    483483                        ) {
    484484                            styles += dom.getOuterHTML( link );
Note: See TracChangeset for help on using the changeset viewer.