X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;fp=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=32045077468117ca98e05cc6efe537f41a810e51;hp=030f9be6f7726267b3dd65ebe705267ba567f61d;hb=7df20dec7dcc9aa6d1aa657d24f273e1a82c60fc;hpb=f2a4c97e9908592d7d187c231198d5d4e66c2a40 diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 030f9be..3204507 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1365,7 +1365,7 @@ function getShownSoneId() { * @returns The ID of the currently shown Sones */ function getShownSoneIds() { - var soneIds = new Array(); + var soneIds = []; sone.find("#known-sones .sone .id").each(function() { soneIds.push($(this).text()); });