HomePhabricator

[Cashtab] URGENT patch balance display bug in Safari

Description

[Cashtab] URGENT patch balance display bug in Safari

Summary: D9283 breaks Cashtab in Safari as Safari does not support lookbehind in regular expressions. This diff implements a more universal approach.

Test Plan: npm test to confirm tests still pass. Load it in Safari if you can but might as well green this if it works.

Reviewers: #bitcoin_abc, Mengerian

Reviewed By: #bitcoin_abc, Mengerian

Differential Revision: https://reviews.bitcoinabc.org/D9286

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Mar 1 2021, 23:30
bytesofmanPushed on Mar 1 2021, 23:40
Reviewer
Restricted Project
Differential Revision
D9286: [Cashtab] URGENT patch balance display bug in Safari
Parents
rABCd8b365ea4ae9: [Cashtab] Add commas to formatted displays of large numbers
Branches
Unknown
Tags
Unknown