Skip to content

Node.js based forum software built for the modern web

ACP allow ctrl-click to open new in new tab when settings are unsaved

psychobunny179b11b7d2f9
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index 93eb4791b0..26c9950254 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -395,6 +395,10 @@ $(document).ready(function () {
}
if (app.flags && app.flags.hasOwnProperty('_unsaved') && app.flags._unsaved === true) {
+ if (e.ctrlKey) {
+ return;
+ }
+
translator.translate('[[global:unsaved-changes]]', function (text) {
bootbox.confirm(text, function (navigate) {
if (navigate) {