diff options
| author | pantsucat <contact@pantsu.cat> | 2015-09-15 05:29:15 +0200 |
|---|---|---|
| committer | pantsucat <contact@pantsu.cat> | 2015-09-15 05:29:15 +0200 |
| commit | 26f3e927180036cc6e0e82289c8dec7c04c1975d (patch) | |
| tree | 9d97611b8b715f0f7fa12eebdcbe120ee954894d /js/pomf.js | |
| parent | 68bda92168ed2d6718b1129d7a423f05f1981dab (diff) | |
Fixed accessibility issue with a link on faq and removed hardcoded 120MB value
Diffstat (limited to 'js/pomf.js')
| -rw-r--r-- | js/pomf.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ $(function () { }) var MAX_SIZE = (function (node) { - var max = /*node.attr('data-max-size') ||*/ '120MiB' + var max = node.attr('data-max-size') || '120MiB' var num = parseInt(/([0-9,]+).*/.exec(max)[1].replace(',', '')) var unit = /(?:([KMGTPEZY])(i)?B|([BKMGTPEZY]))/.exec(max) || ["B","",""] |
