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) {
|
||||
UI.help.innerHTML = html;
|
||||
$('help-close').onclick = hideModal;
|
||||
$('kiri-version').innerHTML = `<i>${LANG.version} ${KIRI.version}</i>`;
|
||||
try { $('help-close').onclick = hideModal; } catch (e) { console.log(e, html) }
|
||||
try { $('kiri-version').innerHTML = `<i>${LANG.version} ${KIRI.version}</i>`; } catch (e) { }
|
||||
showModal('help');
|
||||
});
|
||||
API.event.emit('help.show', local);
|
||||
|
|
|
|||
Loading…
Reference in a new issue