TinyMCE wpViews: fix typos in the conditional checking which stylesheets to import.

Props mattheu. See #31464.

git-svn-id: https://develop.svn.wordpress.org/trunk@31757 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-03-12 20:07:13 +00:00
parent 86c521d868
commit ba3a48766e
1 changed files with 2 additions and 2 deletions

View File

@ -478,8 +478,8 @@ window.wp = window.wp || {};
), function( link ) {
if (
link.href &&
link.href.indexOf( 'skins/lightgray/content.min.css' ) >= 0 &&
link.href.indexOf( 'skins/wordpress/wp-content.css' ) >= 0
link.href.indexOf( 'skins/lightgray/content.min.css' ) === -1 &&
link.href.indexOf( 'skins/wordpress/wp-content.css' ) === -1
) {
styles += dom.getOuterHTML( link );
}