|
@@ -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();
|