[O] Do nothing if not clickable
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
*/
|
*/
|
||||||
redirect()
|
redirect()
|
||||||
{
|
{
|
||||||
|
if (!this.clickable) return;
|
||||||
App.instance.selectedTab = CourseUtils.formatTabIndex(this.course);
|
App.instance.selectedTab = CourseUtils.formatTabIndex(this.course);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user