mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
optimize
This commit is contained in:
parent
10b436e449
commit
a2a041a98a
|
@ -174,6 +174,9 @@ function U2pvis(act, btns) {
|
|||
this.seth = function (nfile, field, html) {
|
||||
var fo = this.tab[nfile];
|
||||
field = ['hn', 'ht', 'hp'][field];
|
||||
if (fo[field] === html)
|
||||
return;
|
||||
|
||||
fo[field] = html;
|
||||
if (!this.is_act(fo.in))
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue