feat: track visit on lesson page

This commit is contained in:
Jannat Patel
2023-06-14 14:39:14 +05:30
parent 0db47dfee1
commit 08e3278ca0

View File

@@ -5,6 +5,7 @@ frappe.ready(() => {
this.is_correct = []; this.is_correct = [];
let self = this; let self = this;
frappe.telemetry.capture("on_lesson_page", "lms");
localStorage.removeItem($("#quiz-title").data("name")); localStorage.removeItem($("#quiz-title").data("name"));
fetch_assignments(); fetch_assignments();