aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/rating.js
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-07-15 10:10:11 +0000
committerrvelices <rv-github@modusoptimus.com>2008-07-15 10:10:11 +0000
commitbe13718838b32b71570bc3c77ce55d162bfbbd34 (patch)
tree0d7da838da8b85b489033ff98d5f0fabada488a3 /template/yoga/rating.js
parent3e8dd7da9b095d6e9a5ba69515cbeb075fc214b6 (diff)
lang correction + rating stars work better with safari
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2436 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/rating.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/yoga/rating.js b/template/yoga/rating.js
index a4f8f86b8..736c235ca 100644
--- a/template/yoga/rating.js
+++ b/template/yoga/rating.js
@@ -21,7 +21,7 @@ function makeNiceRatingForm()
var rateButton = gRatingButtons[i];
rateButton.initialRateValue = rateButton.value; // save it as a property
- rateButton.value = ""; //hide the text IE/Opera
+ if (navigator.userAgent.indexOf('AppleWebKit/') == -1 ) rateButton.value = ""; //hide the text IE/Opera - breaks safari
with (rateButton.style)
{
textIndent = "-50px"; //hide the text FF