avoid error unload
This commit is contained in:
parent
44c1c48938
commit
af5b4b2cf3
1 changed files with 5 additions and 3 deletions
|
@ -256,9 +256,11 @@ function loadTxt() {
|
|||
}
|
||||
|
||||
function saveTxt() {
|
||||
if (textArea) {
|
||||
var txt = textArea.elem.val();
|
||||
//console.log('saveTxt', videoHash, txt.length);
|
||||
globalUser.set_txt(videoHash, txt);
|
||||
}
|
||||
}
|
||||
|
||||
function saveContent(content, type, path) {
|
||||
|
|
Loading…
Reference in a new issue