/[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.46, Tue Nov 27 13:44:38 2007 UTC revision 1.2.2.47, Tue Nov 27 14:14:59 2007 UTC
# Line 442  function jrating_average_rating($content Line 442  function jrating_average_rating($content
442    
443  function jrating_footer($main = FALSE){  function jrating_footer($main = FALSE){
444          drupal_add_js(          drupal_add_js(
445          '$("head").append("<style id=\'jrating-hide-css\' type=\'text/css\'/>");          '$("head").append("<style type=\'text/css\'/>").find("style:last").append("form.rating{display:none}");',
         $("#jrating-hide-css").append("form.rating {display:none;}</style");',  
446          'inline', 'header');          'inline', 'header');
447          // have to append the contents otherwise safari doesn't recognise it          // have to append the contents otherwise safari doesn't recognise it
448  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.2