aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/rating.js
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-07-07 04:36:33 +0000
committerrvelices <rv-github@modusoptimus.com>2009-07-07 04:36:33 +0000
commit96407d5f72d4abbfe710c827de756ef989ede0b0 (patch)
tree4195fd2a2a7410bb9c11a1ded731630691e9e3d0 /template/yoga/rating.js
parent595d73f7ec331c8bb24fafd382d1077cc0d0f0d2 (diff)
merge r3537 from trunk
bug 1029 IE8 : rating system is gone - correction of javascript git-svn-id: http://piwigo.org/svn/branches/2.0@3538 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 682ab10d0..9b8370e93 100644
--- a/template/yoga/rating.js
+++ b/template/yoga/rating.js
@@ -23,7 +23,7 @@ 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 ) rateButton.value = ""; //hide the text IE/Opera - breaks safari
+ if (navigator.userAgent.indexOf('AppleWebKit/')==-1 && navigator.userAgent.indexOf('MSIE 8')==-1) rateButton.value = ""; //hide the text IE<8/Opera - breaks safari
with (rateButton.style)
{
textIndent = "-50px"; //hide the text FF