Reincorporate 8's updates

This commit is contained in:
narcolepticinsomniac 2018-10-12 17:28:47 -04:00 committed by GitHub
parent 407e70b20c
commit f52fd0d124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,8 @@ function beautify(event) {
$create('.buttons', [ $create('.buttons', [
$create('button', { $create('button', {
attributes: {role: 'close'}, attributes: {role: 'close'},
onclick: showHelp.close, // showHelp.close will be defined after showHelp() is invoked
onclick: () => showHelp.close(),
}, t('confirmClose')), }, t('confirmClose')),
$create('button', { $create('button', {
attributes: {role: 'undo'}, attributes: {role: 'undo'},