From 71e4689d118b3628a6ef7b93117c54265c4d83a5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 25 Sep 2014 19:33:39 -0400 Subject: Page: User profile --- public/ng/js/gogs.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'public/ng/js/gogs.js') diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js index a81eb8ce..64bf42f3 100644 --- a/public/ng/js/gogs.js +++ b/public/ng/js/gogs.js @@ -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"); -- cgit v1.2.3