From 26f3e927180036cc6e0e82289c8dec7c04c1975d Mon Sep 17 00:00:00 2001 From: pantsucat Date: Tue, 15 Sep 2015 13:29:15 +1000 Subject: Fixed accessibility issue with a link on faq and removed hardcoded 120MB value --- js/pomf.js | 2 +- pages/faq.swig | 2 +- 2 files changed, 2 insertions(+), 2 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","",""] diff --git a/pages/faq.swig b/pages/faq.swig index 9def31f..4466362 100644 --- a/pages/faq.swig +++ b/pages/faq.swig @@ -18,7 +18,7 @@
  • If you wish to send me any DMCA requests please contact me at abuse@pantsu.cat.
  • All content uploaded is owned by the user who uploaded it.
  • If any changes to these policies happen you will be informed about them.
  • -
  • I will keep the site as transparent as possible. This will include any files that I remove will be publically listed and have a copy of the DMCA notice. Please view this link for tranparency information.
  • +
  • I will keep the site as transparent as possible. This will include any files that I remove will be publically listed and have a copy of the DMCA notice. For more information please visit the transparency information page.
  • {% include "banners.swig" %} {% endblock %} -- cgit v1.2.3