Browse Source

Merge pull request #501 from fundon/fix_suburl_undefined

bugfix, suburl defaults to empty string when suburl is undefined
pull/502/head
无闻 10 years ago
parent
commit
c8b50975bc
  1. 2
      public/ng/js/gogs.js

2
public/ng/js/gogs.js

@ -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