Compare commits

...

3 Commits

2 changed files with 11 additions and 13 deletions

View File

@ -20,7 +20,7 @@ h2.bot {
background-color: #80cbc4; background-color: #80cbc4;
border: 1px solid black; border: 1px solid black;
padding: 20px; padding: 20px;
font-size: 30px; font-size: clamp(1rem, -0.8750rem + 8.3333vw, 2rem);
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
color: #073642 color: #073642

View File

@ -24,8 +24,7 @@ window.onload = function() {
group: "dndmusicbot-playlists", group: "dndmusicbot-playlists",
filter: ".locked", filter: ".locked",
onMove: (e) => { onMove: (e) => {
if (e.related) if (e.related) {
{
return !e.related.classList.contains('locked'); return !e.related.classList.contains('locked');
} }
}, },
@ -46,8 +45,7 @@ window.onload = function() {
group: "dndmusicbot-ambiance", group: "dndmusicbot-ambiance",
filter: ".locked", filter: ".locked",
onMove: (e) => { onMove: (e) => {
if (e.related) if (e.related) {
{
return !e.related.classList.contains('locked'); return !e.related.classList.contains('locked');
} }
}, },