fix: create course button and search bar width

This commit is contained in:
Jannat Patel
2022-08-12 12:34:04 +05:30
parent 64dc76d616
commit 5d6dc16a19
5 changed files with 56 additions and 9 deletions

View File

@@ -64,6 +64,10 @@ frappe.ready(() => {
window.location.href = `${window.location.href}?edit=1`;
});
$(".btn-back").click((e) => {
window.location.href = window.location.href.split("?")[0];
})
$(document).on("click", ".copy-link", (e) => {
frappe.utils.copy_to_clipboard($(e.currentTarget).data("link"));
$(".attachments").collapse("hide");