mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-29 03:54:25 +01:00
bugfix, suburl defaults to empty string when suburl is undefined
This commit is contained in:
parent
977779cdcf
commit
09c3c4e70c
@ -616,7 +616,7 @@ function initProfile() {
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
Gogs.AppSubUrl = $('head').data('suburl');
|
||||
Gogs.AppSubUrl = $('head').data('suburl') || '';
|
||||
initCore();
|
||||
if ($('#user-profile-setting').length) {
|
||||
initUserSetting();
|
||||
|
Loading…
Reference in New Issue
Block a user