aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/bitcoin_pos.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/bitcoin_pos.js b/js/bitcoin_pos.js
index 6dcf49ce..eab06e6e 100644
--- a/js/bitcoin_pos.js
+++ b/js/bitcoin_pos.js
@@ -6,8 +6,7 @@ $(function() {
var address = getParameterByName('address');
$('#received').hide();
- $('div.container-fluid').css('width', screen.width.toString() + 'px');
- $('div.container-fluid').css('width', 600 + 'px');
+ $('div.container-fluid').css('width', Math.min(screen.width, 600) + 'px');
setupqr();