mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 18:00:34 +00:00
bugfix, suburl defaults to empty string when suburl is undefined
This commit is contained in:
parent
977779cdcf
commit
09c3c4e70c
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ function initProfile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
Gogs.AppSubUrl = $('head').data('suburl');
|
Gogs.AppSubUrl = $('head').data('suburl') || '';
|
||||||
initCore();
|
initCore();
|
||||||
if ($('#user-profile-setting').length) {
|
if ($('#user-profile-setting').length) {
|
||||||
initUserSetting();
|
initUserSetting();
|
||||||
|
|
Loading…
Reference in a new issue