Skip to content

Commit 3e51a96

Browse files
committed
Fixing issue where the QR code size is not fully set
1 parent 5f03f53 commit 3e51a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/paypal-button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ PAYPAL.apps = PAYPAL.apps || {};
198198
item, key;
199199

200200
// QR defaults
201-
size = size.value || 250;
201+
size = size && size.value || 250;
202202

203203
for (key in items) {
204204
item = items[key];

0 commit comments

Comments
 (0)