mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-05 04:52:47 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user