mirror of
https://gitee.com/gitea/gitea
synced 2025-12-22 16:36:34 +08:00
#3299 don’t pop up confirm box when leave on signin page
This commit is contained in:
@@ -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