Explicitly set jquery-blockui as a dependency for wc-sb-order-status-check script
lakrisgubben opened this issue · 1 comments
lakrisgubben commented
Hi,
the wc-sb-order-status-check
script, registered here depends on jquery-blockui
but it is not explicitly set as a dependency. This usually isn't a problem since WooCommerce enqueues jquery-blockui
by default, but if one for any reason has disabled WooCommerce's js, this'll trigger a js-error TypeError: undefined is not a function (near '...$( '.woocommerce-order' ).block...')
. Since there's no harm on adding jquery-blockui
as a dependency of wc-sb-order-status-check
script I'd vote for doing that. :)
lakrisgubben commented
thanks @aait!