diff --git a/edit/beautify.js b/edit/beautify.js index 4ce34aef..d3918a6a 100644 --- a/edit/beautify.js +++ b/edit/beautify.js @@ -35,10 +35,15 @@ function beautify(event) { ` + t('styleBeautifyIndentConditional') + '' + '' + - '
'); + `
+ + +
`); $('#help-popup').className = 'wide'; + $('#help-popup button[role="close"]').onclick = showHelp.close; + const undoButton = $('#help-popup button[role="undo"]'); undoButton.textContent = t(scope.length === 1 ? 'undo' : 'undoGlobal'); undoButton.addEventListener('click', () => {