Run prettier on js/script.js

pull/1/head
Trond Ekseth 2022-11-18 22:26:28 +01:00
parent 6523a9e81f
commit 3f9eebfada
1 changed files with 10 additions and 12 deletions

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');
} }
}, },