summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorpantsucat <contact@pantsu.cat>2015-09-15 05:29:15 +0200
committerpantsucat <contact@pantsu.cat>2015-09-15 05:29:15 +0200
commit26f3e927180036cc6e0e82289c8dec7c04c1975d (patch)
tree9d97611b8b715f0f7fa12eebdcbe120ee954894d /js
parent68bda92168ed2d6718b1129d7a423f05f1981dab (diff)
Fixed accessibility issue with a link on faq and removed hardcoded 120MB value
Diffstat (limited to 'js')
-rw-r--r--js/pomf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/pomf.js b/js/pomf.js
index 519d158..dfde7f4 100644
--- a/js/pomf.js
+++ b/js/pomf.js
@@ -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","",""]