Changeset 366


Ignore:
Timestamp:
01/26/2010 11:22:04 PM (2 years ago)
Author:
ofer
Message:

Fix bug with images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/js/transposhedit.js

    r364 r366  
    342342            'padding': '0px' 
    343343        }); 
    344         if (jQuery(this).attr('source')) { 
     344        if (jQuery(this).attr('source') === '0') { 
     345            img.addClass('tr-icon-green'); 
     346        } 
     347        else if (jQuery(this).attr('source')) { 
    345348            img.addClass('tr-icon-yellow'); 
    346         } 
    347         else if (jQuery(this).attr('source') === '0') { 
    348             img.addClass('tr-icon-green'); 
    349349        } 
    350350        // if the image is sourced from a hidden element - kindly "show" this 
Note: See TracChangeset for help on using the changeset viewer.