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:
parent
86c521d868
commit
ba3a48766e
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user