aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/rating.js
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-11-23 13:50:41 +0000
committerrvelices <rv-github@modusoptimus.com>2010-11-23 13:50:41 +0000
commit8e25506673706ea8b2deeb846e7ff9e8f846183b (patch)
tree0069fa3d3ba253d7af232e0d8852512ea82e39a4 /themes/default/js/rating.js
parentb5485d3210f63f2a62c27f72ffa936878a0ff4a3 (diff)
small javascript and css simplification
git-svn-id: http://piwigo.org/svn/trunk@7852 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/js/rating.js')
-rw-r--r--themes/default/js/rating.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js
index 0e3006ec2..f0f838c72 100644
--- a/themes/default/js/rating.js
+++ b/themes/default/js/rating.js
@@ -82,7 +82,6 @@ function updateRating(e)
{
var t = gRatingOptions.ratingSummaryText;
var args =[result.average, result.count], idx = 0, rexp = new RegExp( /%\.?\d*[sdf]/ );
- //_xxx = t.match( rexp );
while (idx<args.length) t=t.replace(rexp, args[idx++]);
gRatingOptions.ratingSummaryElement.innerHTML = t;
}