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.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js
index 0e3006ec2..93c0da22b 100644
--- a/themes/default/js/rating.js
+++ b/themes/default/js/rating.js
@@ -90,4 +90,17 @@ function updateRating(e)
}
);
return false;
-} \ No newline at end of file
+}
+
+(function() {
+if (typeof _pwgRatingAutoQueue!="undefined" && _pwgRatingAutoQueue.length)
+{
+ for (var i=0; i<_pwgRatingAutoQueue.length; i++)
+ makeNiceRatingForm(_pwgRatingAutoQueue[i]);
+}
+_pwgRatingAutoQueue = {
+ push: function(opts) {
+ makeNiceRatingForm(opts);
+ }
+}
+})(); \ No newline at end of file