fix autoscroll
This commit is contained in:
@@ -1032,7 +1032,7 @@ $(function() {
|
||||
|
||||
// scroll to element
|
||||
function autoScrollToItem(code) {
|
||||
element = $('.summary-items').find(`[data-instance-code='${code}']`);
|
||||
element = $('.summary-items').find(`[data-instance-code='${code}']`).last();
|
||||
item_qty = element.find('#item_qty').text()
|
||||
parent = element.parents('.card-text')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user