fixing date picker for Tuesday/Wednesday

This commit is contained in:
2015-08-29 12:00:57 +02:00
parent 7394a06d52
commit 3e69ae7199

View File

@@ -461,9 +461,8 @@ function Settings()
var $Select = $('#ugc_dates').find('select');
var $List = $('#ugc_days');
var iCount = 0;
while(oNextDay.getDay() != 3)
while(oNextDay.getDay()!=3 || iCount==0)
{
if(iCount>5) break;
var iTimestamp = this.timestamp(oNextDay);
switch(iCount)
{