chore: resolved conflicts

This commit is contained in:
Jannat Patel
2023-07-26 11:00:27 +05:30
10 changed files with 19 additions and 42 deletions

View File

@@ -819,7 +819,7 @@ input[type=checkbox] {
}
.lesson-pagination {
margin: 2rem 0;
margin: 2rem 0 5rem;
}
.lesson-video {

View File

@@ -1,7 +1,6 @@
frappe.ready(() => {
setup_file_size();
pin_header();
setup_router();
$(".join-batch").click((e) => {
join_course(e);
@@ -43,14 +42,6 @@ frappe.ready(() => {
});
});
const setup_router = () => {
frappe.router = {
slug(name) {
return name.toLowerCase().replace(/ /g, "-");
},
};
};
const pin_header = () => {
const el = document.querySelector(".sticky");
if (el) {

View File

@@ -2,3 +2,4 @@ import "./profile.js";
import "./common_functions.js";
import "../../../../frappe/frappe/public/js/frappe/ui/chart.js";
import "../../../../frappe/frappe/public/js/frappe/ui/keyboard.js";
import "../../../../frappe/frappe/public/js/frappe/event_emitter.js";