mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-21 19:25:16 +00:00
handle both cases
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user