fix: Hide tooltip on route change (#12579)

This commit is contained in:
Suraj Shetty 2021-03-15 11:03:37 +05:30 committed by GitHub
parent 6ed9567b8c
commit ac0d6243f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,6 +173,9 @@ frappe.Application = Class.extend({
frappe.router.route();
}
frappe.after_ajax(() => frappe.flags.setting_original_route = false);
frappe.router.on('change', () => {
$(".tooltip").hide();
});
},
setup_frappe_vue() {