diff --git a/app/assets/javascripts/repo/index.js b/app/assets/javascripts/repo/index.js index b32939336c0..7d0123e3d3a 100644 --- a/app/assets/javascripts/repo/index.js +++ b/app/assets/javascripts/repo/index.js @@ -11,7 +11,6 @@ function initDropdowns() { } function addEventsForNonVueEls() { - window.onbeforeunload = function confirmUnload(e) { const hasChanged = Store.openedFiles .some(file => file.changed);