diff options
Diffstat (limited to 'modules/ext')
| -rw-r--r-- | modules/ext/course.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ext/course.js b/modules/ext/course.js index 3879cb5..3e00229 100644 --- a/modules/ext/course.js +++ b/modules/ext/course.js @@ -108,6 +108,7 @@ class CourseModule { let m; try { m = await this._load(); } catch (e) { return this.terminal.print('Course content unreachable (' + e.message + '). Try `course list` again.', 'error'); } + if (localStorage.getItem('webx11_course_skills_ver') !== m.version) this._installSkills().catch(() => {}); const p = this._progress(); if (sub === 'list' || sub === 'chapters') { this.terminal.print('📚 newOS4 Course — v' + m.version + ' (' + m.updated + ')', 'header'); |