Changeset 3537


Ignore:
Timestamp:
07/07/09 06:28:07 (11 years ago)
Author:
rvelices
Message:

bug 1029 IE8 : rating system is gone - correction of javascript

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/rating.js

    r3282 r3537  
    2424                try { rateButton.type = "button"; } catch (e){}// avoid normal submit (use ajax); not working in IE6 
    2525 
    26                 if (navigator.userAgent.indexOf('AppleWebKit/') == -1 ) rateButton.value = ""; //hide the text IE/Opera - breaks safari 
     26                if (navigator.userAgent.indexOf('AppleWebKit/')==-1 && navigator.userAgent.indexOf('MSIE 8')==-1) rateButton.value = ""; //hide the text IE<8/Opera - breaks safari 
    2727                with (rateButton.style) 
    2828                { 
Note: See TracChangeset for help on using the changeset viewer.