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