Add b blanking

This commit is contained in:
Timothy Farrell 2026-05-05 11:43:43 +00:00
parent 0659873e12
commit 8d4307b1a7

View File

@ -51,6 +51,7 @@
padding: 10px; padding: 10px;
} }
.play-btn:hover { color: rgba(255, 255, 255, 1); transform: scale(1.1); } .play-btn:hover { color: rgba(255, 255, 255, 1); transform: scale(1.1); }
/q .hidden { display: none; }
</style> </style>
</head> </head>
<body> <body>
@ -94,6 +95,8 @@
} else if (e.code === 'Minus' || e.key.toLowerCase() === 'k') { } else if (e.code === 'Minus' || e.key.toLowerCase() === 'k') {
var params = getRefreshParams(); var params = getRefreshParams();
if (params && params.delay > 1) window.location.href = buildUrl(params.hash, params.order, params.delay - 1); if (params && params.delay > 1) window.location.href = buildUrl(params.hash, params.order, params.delay - 1);
} else if (e.key.toLowerCase() === 'b') {
document.getElementById('container').classList.toggle('hidden');
} else if (e.key.toLowerCase() === 'o') { } else if (e.key.toLowerCase() === 'o') {
var params = getRefreshParams(); var params = getRefreshParams();
if (params) { if (params) {