Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-30 22:06:11 +01:00

#3299 don’t pop up confirm box when leave on signin page

This commit is contained in:
Unknwon 2016-07-21 14:36:26 +08:00
parent 5761342f32
commit c2fb01a257

View file

@ -1117,5 +1117,6 @@ $(window).load(function () {
});
$(function() {
if ($('.user.signin').length >0) return;
$('form').areYouSure();
});