| 1 |
import courseTab from './profile/course-tab'; |
| 2 |
import courseStatistics from './profile/statistic'; |
| 3 |
import recoverOrder from './profile/order-recover'; |
| 4 |
import profileCoverImage from './profile/cover-image'; |
| 5 |
import profileAvatarImage from './profile/avatar'; |
| 6 |
import profileQuizTab from './profile/quiz'; |
| 7 |
import orderRefund from './profile/order-refund'; |
| 8 |
import { ViewStudentsModal } from '../admin/courses/view-students-modal'; |
| 9 |
|
| 10 |
profileCoverImage(); |
| 11 |
profileQuizTab(); |
| 12 |
courseStatistics(); |
| 13 |
recoverOrder(); |
| 14 |
orderRefund(); |
| 15 |
new ViewStudentsModal(); |
| 16 |
|
| 17 |
document.addEventListener( 'DOMContentLoaded', function( event ) { |
| 18 |
courseTab(); |
| 19 |
} ); |
| 20 |
|
| 21 |
if ( document.getElementById( 'learnpress-avatar-upload' ) ) { |
| 22 |
profileAvatarImage(); |
| 23 |
} |
| 24 |
|