mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user