mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-13 10:54:28 +08:00
hide chat and player list in a screenshot
This commit is contained in:
parent
981f6aee6d
commit
6fa6fc8700
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ function revert(): void {
|
|||
|
||||
if (TribeState.isInARoom()) {
|
||||
$(".pageTest #result .inviteLink").removeClass("hidden");
|
||||
$(".pageTest #result #tribeResultBottom").removeClass("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -94,6 +95,7 @@ async function generateCanvas(): Promise<HTMLCanvasElement | null> {
|
|||
$("#commandLineMobileButton").addClass("hidden");
|
||||
$(".pageTest .loginTip").addClass("hidden");
|
||||
$(".pageTest #result .inviteLink").addClass("hidden");
|
||||
$(".pageTest #result #tribeResultBottom").addClass("hidden");
|
||||
$("noscript").addClass("hidden");
|
||||
$("#nocss").addClass("hidden");
|
||||
$("#ad-result-wrapper").addClass("hidden");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue