/[drupal]/contributions/modules/jrating/jrating.module
ViewVC logotype

Diff of /contributions/modules/jrating/jrating.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2.2.45, Tue Nov 27 13:09:55 2007 UTC revision 1.2.2.46, Tue Nov 27 13:44:38 2007 UTC
# Line 441  function jrating_average_rating($content Line 441  function jrating_average_rating($content
441    
442    
443  function jrating_footer($main = FALSE){  function jrating_footer($main = FALSE){
444          drupal_add_js('$("head").append("<style type=\'text/css\'>form.rating {display:none;}</style>");', 'inline', 'header');          drupal_add_js(
445            '$("head").append("<style id=\'jrating-hide-css\' type=\'text/css\'/>");
446            $("#jrating-hide-css").append("form.rating {display:none;}</style");',
447            'inline', 'header');
448            // have to append the contents otherwise safari doesn't recognise it
449  }  }
450    
451    

Legend:
Removed from v.1.2.2.45  
changed lines
  Added in v.1.2.2.46

  ViewVC Help
Powered by ViewVC 1.1.2