| @@ -29,9 +29,8 @@ | ||
| 29 | 29 | return; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | lpUtils.lpSetLoadingEl( btn, isLoading ? 1 : 0 ); |
| 33 | - btn.disabled = !! isLoading; | |
| 34 | 33 | } |
| 35 | 34 | |
| 36 | 35 | init() { |
| 37 | 36 | if ( ViewStudentsModal._loadedEvents ) { |
| @@ -87,11 +86,9 @@ | ||
| 87 | 86 | ); |
| 88 | 87 | if ( |
| 89 | 88 | ! btn || |
| 90 | 89 | this.isRequesting || |
| 91 | - btn.classList.contains( 'loading' ) || | |
| 92 | - btn.disabled | |
| 93 | - ) { | |
| 90 | + btn.classList.contains( 'loading' ) ) { | |
| 94 | 91 | return; |
| 95 | 92 | } |
| 96 | 93 | |
| 97 | 94 | const courseId = parseInt( btn.dataset.courseId, 10 ) || 0; |
| @@ -166,10 +163,9 @@ | ||
| 166 | 163 | } |
| 167 | 164 | |
| 168 | 165 | if ( |
| 169 | 166 | this.isRequesting || |
| 170 | - btn.classList.contains( 'loading' ) || | |
| 171 | - btn.disabled | |
| 167 | + btn.classList.contains( 'loading' ) | |
| 172 | 168 | ) { |
| 173 | 169 | return; |
| 174 | 170 | } |
| 175 | 171 | |