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

Commit 2ae8f03

Browse files
committed
Fix moderator fee international formatting
1 parent 1fa6599 commit 2ae8f03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/templates/buyWizard.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ <h2 class="margin0 marginTop80"><%= polyglot.t('buyFlow.HaveWallet') %></h2>
288288
</div>
289289
<% _.each(ob.vendor_offer.listing.moderators, function(moderator, i) { %>
290290
<% if(moderator.guid != ob.user.guid){ %>
291+
<% moderator.numFee = moderator.fee.replace(/[^\d.-]/g, ''); %>
291292
<div class="flexRow">
292293
<div class="">
293294
<label for="buyWizardModeratorRadio<%= i %>" class="textOpacity1 clickable">
@@ -312,7 +313,7 @@ <h2 class="margin0 marginTop80"><%= polyglot.t('buyFlow.HaveWallet') %></h2>
312313
<% if(moderator.handle){ %><%= moderator.handle %><% } else { %><%= moderator.guid %><% } %>
313314
</div>
314315
</div>
315-
<div class="floatRight textOpacity75"><%= Number(moderator.fee) %></div>
316+
<div class="floatRight textOpacity75"><%= ob.intlNumFormat(moderator.numFee) %></div>
316317
</div>
317318
</div>
318319
</div>

0 commit comments

Comments
 (0)