mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 22:17:20 +00:00
Page: User profile
This commit is contained in:
@ -608,6 +608,13 @@ function initInstall() {
|
||||
}());
|
||||
}
|
||||
|
||||
function initProfile() {
|
||||
// Avatar.
|
||||
$('#profile-avatar').tipsy({
|
||||
fade: true
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
Gogs.AppSubUrl = $('head').data('suburl');
|
||||
initCore();
|
||||
@ -644,6 +651,9 @@ $(document).ready(function () {
|
||||
if ($('#install-form').length) {
|
||||
initInstall();
|
||||
}
|
||||
if ($('#user-profile-page').length) {
|
||||
initProfile();
|
||||
}
|
||||
|
||||
$('#dashboard-sidebar-menu').tabs();
|
||||
$('#pull-issue-preview').markdown_preview(".issue-add-comment");
|
||||
|
Reference in New Issue
Block a user