mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Can force message to appear
This commit is contained in:
parent
e5db80c2c6
commit
93ff4e9049
@ -7,8 +7,9 @@
|
|||||||
/**
|
/**
|
||||||
* Check if it is Manon's birthday
|
* Check if it is Manon's birthday
|
||||||
*/
|
*/
|
||||||
async function checkManonBirthday() {
|
async function checkManonBirthday(force) {
|
||||||
|
|
||||||
|
if(force !== true) {
|
||||||
// Manon's feature only
|
// Manon's feature only
|
||||||
if(userID() !== 150)
|
if(userID() !== 150)
|
||||||
return;
|
return;
|
||||||
@ -17,6 +18,7 @@ async function checkManonBirthday() {
|
|||||||
|
|
||||||
if(date.getMonth() != 4 && date.getDay() != 8)//TODO: replace
|
if(date.getMonth() != 4 && date.getDay() != 8)//TODO: replace
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Load clippy
|
// Load clippy
|
||||||
const css = document.createElement("link");
|
const css = document.createElement("link");
|
||||||
|
Loading…
Reference in New Issue
Block a user