Browse Source

bugfix, suburl defaults to empty string when suburl is undefined

for-closed-social
fundon 10 years ago
parent
commit
09c3c4e70c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/ng/js/gogs.js

+ 1
- 1
public/ng/js/gogs.js View File

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