mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Merge pull request #501 from fundon/fix_suburl_undefined
bugfix, suburl defaults to empty string when suburl is undefined
This commit is contained in:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user