Merge pull request #12023 from zfox23/commerce_fixAvailabileBug

Fix bug preventing 'get' buttons from working in Marketplace
This commit is contained in:
Zach Fox 2017-12-19 16:24:56 -08:00 committed by GitHub
commit 91ed531421
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -415,7 +415,7 @@
}
purchaseButton.on('click', function () {
if ('availabile' === availability) {
if ('available' === availability) {
buyButtonClicked(window.location.pathname.split("/")[3],
$('#top-center').find('h1').text(),
$('#creator').find('.value').text(),