mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 02:10:40 +00:00
#3299 don’t pop up confirm box when leave on signin page
This commit is contained in:
parent
5761342f32
commit
c2fb01a257
1 changed files with 1 additions and 0 deletions
|
@ -1117,5 +1117,6 @@ $(window).load(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
|
if ($('.user.signin').length >0) return;
|
||||||
$('form').areYouSure();
|
$('form').areYouSure();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue