From 607deeaf24d9413c44c7900969e2eb8657304f1c Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 8 Jun 2020 16:31:11 -0400 Subject: [PATCH] remove the usual 'upload' tooltip from avatars upload buttons --- www/profile/inner.js | 1 + www/teams/inner.js | 1 + 2 files changed, 2 insertions(+) diff --git a/www/profile/inner.js b/www/profile/inner.js index 535da563e..12ab5e607 100644 --- a/www/profile/inner.js +++ b/www/profile/inner.js @@ -376,6 +376,7 @@ define([ todo(); }); var $upButton = common.createButton('upload', false, data); + $upButton.removeProp('title'); $upButton.text(Messages.profile_upload); $upButton.prepend($('', {'class': 'fa fa-upload'})); $block.append($upButton); diff --git a/www/teams/inner.js b/www/teams/inner.js index 1c376962b..86b8acf47 100644 --- a/www/teams/inner.js +++ b/www/teams/inner.js @@ -987,6 +987,7 @@ define([ }); }); var $upButton = common.createButton('upload', false, data); + $upButton.removeProp('title'); $upButton.text(Messages.profile_upload); $upButton.prepend($('', {'class': 'fa fa-upload'}));