Merge pull request #364 from frozeus/patch
Fix QrCode Size and upgrade QrCode lib.
This commit is contained in:
commit
7f641d6d0b
3 changed files with 3 additions and 4 deletions
|
@ -12,8 +12,7 @@ modulejs.define('ext/qrcode', ['_', '$', 'modernizr', 'core/settings', 'core/eve
|
||||||
|
|
||||||
$qrcode.empty().qrcode({
|
$qrcode.empty().qrcode({
|
||||||
render: modernizr.canvas ? 'canvas' : 'div',
|
render: modernizr.canvas ? 'canvas' : 'div',
|
||||||
width: settings.size,
|
size: settings.size,
|
||||||
height: settings.size,
|
|
||||||
color: '#333',
|
color: '#333',
|
||||||
bgColor: '#fff',
|
bgColor: '#fff',
|
||||||
radius: 0.5,
|
radius: 0.5,
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
src/_h5ai/client/js/lib/jquery.qrcode-0.11.0.min.js
vendored
Normal file
2
src/_h5ai/client/js/lib/jquery.qrcode-0.11.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue