PageSourceSearch

https://tramdoc.net/wp-content/themes/flatsome/inc/extensions/flat…/flatsome-cart-refresh.js?ver=3.15.0

js tramdoc.net collected 2026-09-24 15:08:01 UTC 496 bytes, 18 lines download raw bytes

1Flatsome.behavior('cart-refresh', {
2  attach: function () {
3    if (!jQuery('.cart-auto-refresh').length) {
4      return
5    }
6    var updateCartButton = jQuery('button[name=\'update_cart\']')
7    var updateCart = null
8
9    jQuery('.woocommerce-cart-form').find('.cart_item .qty').on('change', function () {
10      if (updateCart != null) {
11        clearTimeout(updateCart)
12      }
13      updateCart = setTimeout(function () {
14        updateCartButton.trigger('click')
15      }, 1200)
16    })
17  }
18})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.