/[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.47, Tue Nov 27 14:14:59 2007 UTC revision 1.2.2.48, Mon Dec 3 13:00:39 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 type=\'text/css\'/>").find("style:last").append("form.rating{display:none}");',          '$("head").append("<style type=\'text/css\'>form.rating{display:none}</style>");
446            if ($.browser.safari){ $("head").find("style:last").append(" ") }',
447          'inline', 'header');          'inline', 'header');
448          // have to append the contents otherwise safari doesn't recognise it          // have to append the contents otherwise safari doesn't recognise it
449  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.2