Browse Source

Remove unused code that was breaking paranoia JS

spaghetti 8 years ago
parent
commit
598d16a582
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      static/functions/user.js

+ 0
- 7
static/functions/user.js View File

@@ -46,7 +46,6 @@ function AlterParanoia() {
46 46
   $('input[name=p_requestsvoted_list]').raw().disabled = !($('input[name=p_requestsvoted_count]').raw().checked && $('input[name=p_requestsvoted_bounty]').raw().checked);
47 47
   $('input[name=p_uploads_l]').raw().disabled = !$('input[name=p_uploads_c]').raw().checked;
48 48
   $('input[name=p_uniquegroups_l]').raw().disabled = !$('input[name=p_uniquegroups_c]').raw().checked;
49
-  $('input[name=p_perfectflacs_l]').raw().disabled = !$('input[name=p_perfectflacs_c]').raw().checked;
50 49
   $('input[name=p_seeding_l]').raw().disabled = !$('input[name=p_seeding_c]').raw().checked;
51 50
   $('input[name=p_leeching_l]').raw().disabled = !$('input[name=p_leeching_c]').raw().checked;
52 51
   $('input[name=p_snatched_l]').raw().disabled = !$('input[name=p_snatched_c]').raw().checked;
@@ -56,7 +55,6 @@ function AlterParanoia() {
56 55
   UncheckIfDisabled($('input[name=p_requestsvoted_list]').raw());
57 56
   UncheckIfDisabled($('input[name=p_uploads_l]').raw());
58 57
   UncheckIfDisabled($('input[name=p_uniquegroups_l]').raw());
59
-  UncheckIfDisabled($('input[name=p_perfectflacs_l]').raw());
60 58
   UncheckIfDisabled($('input[name=p_seeding_l]').raw());
61 59
   UncheckIfDisabled($('input[name=p_leeching_l]').raw());
62 60
   UncheckIfDisabled($('input[name=p_snatched_l]').raw());
@@ -67,17 +65,12 @@ function AlterParanoia() {
67 65
     $('input[name=p_uniquegroups_l]').raw().checked = true;
68 66
     $('input[name=p_uniquegroups_c]').raw().disabled = true;
69 67
     $('input[name=p_uniquegroups_l]').raw().disabled = true;
70
-    $('input[name=p_perfectflacs_c]').raw().checked = true;
71
-    $('input[name=p_perfectflacs_l]').raw().checked = true;
72
-    $('input[name=p_perfectflacs_c]').raw().disabled = true;
73
-    $('input[name=p_perfectflacs_l]').raw().disabled = true;
74 68
     $('input[type=checkbox][name=p_artistsadded]').raw().checked = true;
75 69
     $('input[type=checkbox][name=p_artistsadded]').raw().disabled = true;
76 70
   } else {
77 71
     $('input[name=p_uniquegroups_c]').raw().disabled = false;
78 72
     $('input[name=p_uniquegroups_l]').raw().checked = false;
79 73
     $('input[name=p_uniquegroups_l]').raw().disabled = true;
80
-    $('input[name=p_perfectflacs_c]').raw().disabled = false;
81 74
     $('input[type=checkbox][name=p_artistsadded]').raw().disabled = false;
82 75
   }
83 76
   if ($('input[name=p_collagecontribs_l]').raw().checked) {

Loading…
Cancel
Save