Fix buttons on user profile

This commit is contained in:
David Benqué 2020-12-10 11:44:00 +00:00
parent 0411aa3c4a
commit 1c1333068a
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ define([
var url = APP.origin + '/profile/#' + hash;
$('<button>', {
'class': 'btn btn-primary '+VIEW_PROFILE_BUTTON,
'class': 'btn '+VIEW_PROFILE_BUTTON,
}).text(Messages.profile_viewMyProfile).click(function () {
window.open(url, '_blank');
}).appendTo($container);
@ -136,7 +136,7 @@ define([
APP.$linkEdit = $();
if (APP.readOnly) { return; }
var button = h('button.btn.btn-primary', {
var button = h('button.btn', {
title: Messages.clickToEdit
}, Messages.profile_addLink);
APP.$linkEdit = $(button);