mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-22 17:38:43 +03: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