diff --git a/www/js/lib/kiwixServe.js b/www/js/lib/kiwixServe.js index d1b02259..ab9a3c40 100644 --- a/www/js/lib/kiwixServe.js +++ b/www/js/lib/kiwixServe.js @@ -429,10 +429,10 @@ define([], function () { '
BitTorrent link: ' + URL.replace(/\.meta4$/, ".torrent") + '
'; if (megabytes > 4000 && /\.zim\.meta4$/i.test(URL)) { - bodyDoc += 'This archive is larger than the maximum file size permitted on an SD card formatted as FAT32 (max size is approx. 4GB). On Windows, this is not normally a problem. However, if your card or other storage area is formatted in this way, you will need to download a split version of this file: see Frequently Asked Questions.
\r\n'; - bodyDoc += 'To browse for a split version of this archive click here: ' + URL.replace(/\/zim\/([^/]+\/).*$/m, "/portable/$1") + - '.
\r\n'; + bodyDoc += 'This archive is larger than the maximum file size permitted on an SD card formatted as FAT32 (max size is approx. 4GB). On Windows, this is not normally a problem. However, if your card or other storage area is formatted in this way, you will need to download a split version of this file: see Frequently Asked Questions.
\r\n'; + // bodyDoc += 'To browse for a split version of this archive click here: ' + URL.replace(/\/zim\/([^/]+\/).*$/m, "/portable/$1") + + // '.
\r\n'; } if (/\.zip\.meta4$/i.test(URL)) { if (megabytes > 4000) bodyDoc += 'This ZIP file contains a split version of the archive, but the ZIP itself is larger than the maximum file size permitted on an SD card formatted as FAT32. Be sure to save it in a non-FAT32 location (e.g. a PC hard drive).
\r\n';