less indentation
This commit is contained in:
parent
d60143a128
commit
f9bb530af9
@ -446,18 +446,16 @@
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (month === 10) {
|
if (sunday < 1) {
|
||||||
if (sunday < 1) {
|
return true;
|
||||||
|
}
|
||||||
|
if (sunday < 8 && date.getDay() === 0) {
|
||||||
|
if (date.getHour() < 1) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (sunday < 8 && date.getDay() === 0) {
|
|
||||||
if (date.getHour() < 1) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$.cache.requests = {};
|
$.cache.requests = {};
|
||||||
|
|||||||
@ -311,20 +311,20 @@ $.extend $,
|
|||||||
#after second sunday
|
#after second sunday
|
||||||
return true
|
return true
|
||||||
|
|
||||||
if month is 10
|
#month is 10
|
||||||
# before first sunday
|
# before first sunday
|
||||||
if sunday < 1
|
if sunday < 1
|
||||||
|
return true
|
||||||
|
|
||||||
|
# during first sunday
|
||||||
|
if sunday < 8 and date.getDay() is 0
|
||||||
|
if date.getHour() < 1
|
||||||
return true
|
return true
|
||||||
|
|
||||||
# during first sunday
|
|
||||||
if sunday < 8 and date.getDay() is 0
|
|
||||||
if date.getHour() < 1
|
|
||||||
return true
|
|
||||||
return false
|
|
||||||
|
|
||||||
#after first sunday
|
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
#after first sunday
|
||||||
|
return false
|
||||||
|
|
||||||
$.cache.requests = {}
|
$.cache.requests = {}
|
||||||
|
|
||||||
if GM_deleteValue?
|
if GM_deleteValue?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user