can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r18376: LJSUP-8000: Error with game polls

Committer: dpetrov
LJSUP-8000: Error with game polls
U   trunk/htdocs/js/widgets/potd.js
Modified: trunk/htdocs/js/widgets/potd.js
===================================================================
--- trunk/htdocs/js/widgets/potd.js	2011-02-22 07:29:54 UTC (rev 18375)
+++ trunk/htdocs/js/widgets/potd.js	2011-02-22 08:58:35 UTC (rev 18376)
@@ -83,7 +83,7 @@
 		}, 1000);
 
 		function formSent() {
-			var skip = form.prev('input[name="skip"]').val();
+			var skip = form.prevAll('input[name="skip"]').val();
 			PotD.cache[skip] = null;
 			PotD.getQuestion(form, skip);
 			response_received = true;

Tags: can3p, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments