Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 699a28a

Browse files
authored
Merge pull request #1825 from OpenBazaar/defaultForSpinnerMax
Fix quantity bug in spinner
2 parents 313c8df + fba2566 commit 699a28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/templates/buyDetails.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
step="1"
3737
min="1"
3838
name="max_quantity"
39-
max="<%= ob.vendor_offer.listing.metadata.max_quantity %>"
39+
max="<%= ob.vendor_offer.listing.metadata.max_quantity || 999999%>"
4040
class="fieldItem spinButtons js-buyWizardQuantity border1 custCol-border marginTop4"
4141
value="1"/>
4242
<div class="numberSpinnerUp"></div>

0 commit comments

Comments
 (0)