Changeset 8357

Show
Ignore:
Timestamp:
07/16/08 20:58:44 (4 months ago)
Author:
azaozz
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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        }