This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
bugfix, suburl defaults to empty string when suburl is undefined
for-closed-social
fundon
10 years ago
parent
977779cdcf
commit
09c3c4e70c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
(
)
;
Write
Preview
Loading…
Cancel
Save