can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r17694: LJSUP-7052: Landing page. Fixed Poll of ...

Committer: dpetrov
LJSUP-7052: Landing page. Fixed Poll of The Day widget behavior
U   trunk/htdocs/js/widgets/potd.js
Modified: trunk/htdocs/js/widgets/potd.js
===================================================================
--- trunk/htdocs/js/widgets/potd.js	2010-11-16 05:39:24 UTC (rev 17693)
+++ trunk/htdocs/js/widgets/potd.js	2010-11-16 06:39:35 UTC (rev 17694)
@@ -22,7 +22,7 @@
 			return;
 		}
 		this.pause = true;
-		var widget_node = jQuery(node).parents('.appwidget');
+		var widget_node = jQuery(node).closest('.appwidget');
 
 		this.cache[skip] ?
 			this.setQuestion(this.cache[skip], widget_node) :

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