Browse Source

Fix Client-side upload description check

spaghetti 3 years ago
parent
commit
20276597d0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      static/functions/validate_upload.js

+ 2
- 2
static/functions/validate_upload.js View File

@@ -15,8 +15,8 @@ $(() => {
15 15
     if (!$('#file').raw().value) {
16 16
       hard_error('No torrent file is selected')
17 17
     }
18
-    if ($('#release_desc').raw().value.length < 10) {
19
-      hard_error('The release description is too short')
18
+    if ($('#album_desc').raw().value.length < 10) {
19
+      hard_error('The group description is too short')
20 20
     }
21 21
     if ($('#file').raw().value.slice(-8).toLowerCase() != '.torrent') {
22 22
       soft_error('The file selected does not appear to be a .torrent file')

Loading…
Cancel
Save