From c2fb01a257cfcddf5dc279fcd66175280778f7a9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 21 Jul 2016 14:36:26 +0800 Subject: [PATCH] =?UTF-8?q?#3299=20don=E2=80=99t=20pop=20up=20confirm=20bo?= =?UTF-8?q?x=20when=20leave=20on=20signin=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/gogs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/gogs.js b/public/js/gogs.js index 71e2205f2fe..bf27d1584e0 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -1117,5 +1117,6 @@ $(window).load(function () { }); $(function() { + if ($('.user.signin').length >0) return; $('form').areYouSure(); });