small bug fixes
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -33,8 +33,8 @@
|
|||||||
#loadingText {
|
#loadingText {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0%;
|
bottom: 0%;
|
||||||
left: calc(50% - 40vw);
|
left: calc(50% - 45vw);
|
||||||
width: 80vw;
|
width: 90vw;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|||||||
+12
-1
@@ -32,7 +32,18 @@ let selectedTip = "undefined"
|
|||||||
|
|
||||||
|
|
||||||
function newTip() {
|
function newTip() {
|
||||||
selectedTip = tipsJson[randomIntFrom0(tipsJson.length)]
|
if (randomIntFrom0(1000) == 0) {
|
||||||
|
// If you snitch this easter egg code
|
||||||
|
// then I'll close the source and
|
||||||
|
// permanently remove the easter egg.
|
||||||
|
selectedTip = `You like kissing boys, don't you?<br>
|
||||||
|
<img src="/assets/boykisser_64x64.png"
|
||||||
|
style="aspect-ratio: 1 / 1; width: min-content; height: min-content;">`
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
selectedTip = tipsJson[randomIntFrom0(tipsJson.length)]
|
||||||
|
}
|
||||||
|
|
||||||
debugPrint("new tip", selectedTip)
|
debugPrint("new tip", selectedTip)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user