mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 04:36:18 +02:00
#3299 don’t pop up confirm box when leave on signin page
This commit is contained in:
1 parent
5761342f32
commit
c2fb01a257
1 file changed
+1
@@ -1117,5 +1117,6 @@ $(window).load(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
|
if ($('.user.signin').length >0) return;
|
||||||
$('form').areYouSure();
|
$('form').areYouSure();
|
||||||
});
|
});
|
||||||
Reference in new issue
Block a user