bugfix, suburl defaults to empty string when suburl is undefined

pull/197/head
fundon 11 years ago
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…
Cancel
Save