mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
might be useful some time
This commit is contained in:
parent
23e72797bc
commit
12986da147
|
@ -679,6 +679,7 @@ var toast = (function () {
|
|||
obj.setAttribute('id', 'toast');
|
||||
document.body.appendChild(obj);
|
||||
r.visible = false;
|
||||
r.txt = null;
|
||||
|
||||
r.hide = function (e) {
|
||||
ev(e);
|
||||
|
@ -698,6 +699,7 @@ var toast = (function () {
|
|||
obj.className += ' vis';
|
||||
ebi('toastc').onclick = r.hide;
|
||||
r.visible = true;
|
||||
r.txt = txt;
|
||||
};
|
||||
|
||||
r.ok = function (ms, txt) {
|
||||
|
|
Loading…
Reference in a new issue