can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r22317: LJSUP-12666: Calendar works incorrect. F...

Committer: dpetrov
LJSUP-12666: Calendar works incorrect. Fix flickering of calendar label.
U   trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js
Modified: trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js
===================================================================
--- trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js	2012-06-22 15:40:56 UTC (rev 22316)
+++ trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js	2012-06-25 06:26:38 UTC (rev 22317)
@@ -304,8 +304,12 @@
 			var current = new Date();
 			current.setMilliseconds(0);
 			current.setSeconds(0);
+			current.setMinutes(0);
+			current.setHours(0);
 			date.setMilliseconds(0);
 			date.setSeconds(0);
+			date.setMinutes(0);
+			date.setHours(0);
 
 			var delta = +date - (+new Date());
 			this._setTime(date);

Tags: can3p, dpetrov, 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