From e10c09c189e87c65dfbf464aba5fc24e4742d80e Mon Sep 17 00:00:00 2001 From: Mohammad Hasnain Mohsin Rajan Date: Tue, 30 Mar 2021 14:23:15 +0530 Subject: [PATCH] chore: add semicolon --- frappe/public/js/frappe/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/router.js b/frappe/public/js/frappe/router.js index fd540fc3cc..35292846d0 100644 --- a/frappe/public/js/frappe/router.js +++ b/frappe/public/js/frappe/router.js @@ -387,7 +387,7 @@ frappe.router = { // set query parameters as frappe.route_options var last_part = route[route.length - 1]; // add routing v2 compatability - if (!last_part.includes("?")) last_part = route[route.length - 1] + window.location.search + if (!last_part.includes("?")) last_part = route[route.length - 1] + window.location.search; if (last_part.indexOf("?") < last_part.indexOf("=")) { // has ? followed by = let parts = last_part.split("?");