PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | assets/src/js/admin/courses/view-students-modal.js +2 -6 4.4.1 → 4.4.9 View file →
@@ -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