chore: add semicolon

This commit is contained in:
Mohammad Hasnain Mohsin Rajan 2021-03-30 14:23:15 +05:30 committed by GitHub
parent a6fce22c63
commit e10c09c189
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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("?");