mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
dont hilight huge files
This commit is contained in:
parent
7b4a794981
commit
e5b3d2a312
|
@ -2436,6 +2436,9 @@ var showfile = (function () {
|
|||
catch (ex) { }
|
||||
}
|
||||
|
||||
if (txt.length > 1024 * 256)
|
||||
fun = function (el) { };
|
||||
|
||||
qsr('#doc');
|
||||
var el = mknod('pre');
|
||||
el.setAttribute('id', 'doc');
|
||||
|
|
Loading…
Reference in a new issue