| 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 |
} |
} |