handle both cases
This commit is contained in:
parent
97c1bcf14f
commit
6f50b3a5b2
@ -73,7 +73,7 @@ frappe.ready(function() {
|
||||
}
|
||||
}
|
||||
|
||||
if (window.location.search == ("?variant=" + item_code)) {
|
||||
if (window.location.search == ("?variant=" + item_code) || window.location.search.includes(item_code)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user