Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ducdat0507 committed Oct 4, 2024
1 parent a15ce92 commit 5823ea0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/layers/thepaperpilot.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"use strict";

function getTPPPointGain(release) {
if (!release) return 0;
return EN.floor(release.views).mul(EN.floor(release.likes).add(1)).mul(EN.floor(release.shares).add(1)).add(1).mul(tmp.tpp.effect.tppMulti).sub(release.points)
}

Expand Down
2 changes: 1 addition & 1 deletion js/technical/newsTicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let newsEntries = [
[true, "Most people don't know this, but me and the Phigros' tip box are friends! <i>*wink wink*</i>"],
[true, "I just went to this news ticker code after two years of inactivity and found out that some of the news messages I wrote no longer reflects me as a person. If you, by chance, get offended by some of the news messages let me know and I'll consider removing it."],
[true, "Wow, some of these news messages did not age well. I guess you can say that those news messages are - get this - \"old news\" amirite <i>*ba-dum-tss*</i>"],
[true, "Copyright Disclaimer: Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for \"fair use\" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use."]
[true, "Copyright Disclaimer: Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for \"fair use\" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use."],

[true, "<a onclick='newsTicker.pos=-1/0'>Click here to reroll your news ticker.</a>"],
[true, "<a onclick='navigator.clipboard.writeText(this.innerText);doPopup(`none`, `Copied contents to clipboard.`)'>Click here to copy this news message's contents into your clipboard.</a>"],
Expand Down

0 comments on commit 5823ea0

Please sign in to comment.