WordPress.org

Make WordPress Core

Changeset 8357


Ignore:
Timestamp:
07/16/2008 08:58:44 PM (10 years ago)
Author:
azaozz
Message:

Improve compatibility when importing custom colors css, props caesarsgrunt. fixes #7311 for 2.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js

    r8313 r8357  
    8080        for ( i = 0; i < styles.length; i++ ) {
    8181            var url = styles.item(i).href;
    82             if ( url && url.indexOf('colors-') != -1 )
     82            if ( url && url.indexOf('colors') != -1 )
    8383                document.write( '<link rel="stylesheet" href="'+url+'" type="text/css" media="all" />' );
    8484        }
Note: See TracChangeset for help on using the changeset viewer.