try to catch help dialog errors
This commit is contained in:
parent
fabfa872bc
commit
844409a588
1 changed files with 2 additions and 2 deletions
|
|
@ -1793,8 +1793,8 @@ self.kiri.copyright = exports.COPYRIGHT;
|
||||||
}
|
}
|
||||||
ajax(local, function(html) {
|
ajax(local, function(html) {
|
||||||
UI.help.innerHTML = html;
|
UI.help.innerHTML = html;
|
||||||
$('help-close').onclick = hideModal;
|
try { $('help-close').onclick = hideModal; } catch (e) { console.log(e, html) }
|
||||||
$('kiri-version').innerHTML = `<i>${LANG.version} ${KIRI.version}</i>`;
|
try { $('kiri-version').innerHTML = `<i>${LANG.version} ${KIRI.version}</i>`; } catch (e) { }
|
||||||
showModal('help');
|
showModal('help');
|
||||||
});
|
});
|
||||||
API.event.emit('help.show', local);
|
API.event.emit('help.show', local);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue