Closed samikeijonen closed 9 years ago
Same goes for scripts.js
file.
taxamo.all.js
shouldn't be loaded, at least at the version currently on the github. It's commented out (or should be!) - https://github.com/rhyswynne/easy-digital-downloads-taxamo-integration/blob/master/includes/scripts.php#L19 - so we can remove that line.
Scripts doesn't need to be loaded in. It can be wrapped in edd_is_checkout()
safely. :)
Oh so it is.
Yeah probably needs removing!
Okay, that I have a funny feeling that file probably shouldn't be pulled in. I'll look at it it with #8.
Yep. Shouldn't be in. Removed
Is
taxamo.all.js
needed anywhere else but in checkout page? If not I suggest that we load it only in checkout page. There isedd_is_checkout()
function for it.