diff --git a/edit/edit.js b/edit/edit.js index 220f2bbb..ec2313be 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1954,7 +1954,6 @@ function onRuntimeMessage(request) { break; case 'styleDeleted': if (styleId && styleId === request.id) { - // eslint-disable-next-line no-empty-function window.onbeforeunload = () => {}; window.close(); break;