aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/rating.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js/rating.js')
-rw-r--r--themes/default/js/rating.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js
index 3bc846681..6e382d7a7 100644
--- a/themes/default/js/rating.js
+++ b/themes/default/js/rating.js
@@ -23,10 +23,9 @@ function makeNiceRatingForm(options)
rateButton.initialRateValue = rateButton.value; // save it as a property
try { rateButton.type = "button"; } catch (e){}// avoid normal submit (use ajax); not working in IE6
- if (navigator.userAgent.indexOf('AppleWebKit/')==-1 && navigator.userAgent.indexOf('MSIE 8')==-1) rateButton.value = ""; //hide the text IE<8/Opera - breaks safari
+ rateButton.value = " "; //hide the text (Apple + IE would show text above the stars)
with (rateButton.style)
{
- textIndent = "-50px"; //hide the text FF
marginLeft = marginRight = 0;
}