mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-25 17:50:16 -06:00
Add Dave's Ramen begging toast.
This commit is contained in:
parent
685b65787d
commit
1fe97c7195
@ -6,7 +6,7 @@ export function sponsorTag(parentId) {
|
||||
//console.log(data);
|
||||
if (data.action !== "GoodToGo") {
|
||||
let div = document.createElement("div");
|
||||
let random = Math.floor(Math.random() * 4) + 1;
|
||||
let random = Math.floor(Math.random() * 5) + 1;
|
||||
if (random === 1) {
|
||||
let html = "We love working on LibreQoS to make the Internet better. If you love it too, please ";
|
||||
html += sponsorBtn;
|
||||
@ -28,6 +28,11 @@ export function sponsorTag(parentId) {
|
||||
html += sponsorBtn;
|
||||
html += ". By the way, we'll stop asking if you sign up for LTS (Long-Term Stats).";
|
||||
div.innerHTML = html;
|
||||
} else if (random === 5) {
|
||||
let html = "$150 will keep a developer in Ramen for a month! ";
|
||||
html += sponsorBtn;
|
||||
html += ". By the way, we'll stop asking if you sign up for LTS (Long-Term Stats).";
|
||||
div.innerHTML = html;
|
||||
}
|
||||
div.classList.add("alert", "alert-warning");
|
||||
let parent = document.getElementById(parentId);
|
||||
|
Loading…
Reference in New Issue
Block a user