diff options
author | 2020-03-27 11:30:45 +0100 | |
---|---|---|
committer | 2020-03-27 11:30:45 +0100 | |
commit | e739f16f0907a3f2976641e95ddfc68ab331bde0 (patch) | |
tree | 46bacf7f8b97372393f3c7902881d1f4ab20634f /uncompressed/slack/webview.js | |
parent | Improve README (diff) | |
download | ferdium-recipes-e739f16f0907a3f2976641e95ddfc68ab331bde0.tar.gz ferdium-recipes-e739f16f0907a3f2976641e95ddfc68ab331bde0.tar.zst ferdium-recipes-e739f16f0907a3f2976641e95ddfc68ab331bde0.zip |
#80 Fix icon for Slack March 2020 styles update
Co-Authored-By: Justine Bateman <justinebateman@users.noreply.github.com>
Diffstat (limited to 'uncompressed/slack/webview.js')
-rw-r--r-- | uncompressed/slack/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uncompressed/slack/webview.js b/uncompressed/slack/webview.js index e64ff4d..0d250e5 100644 --- a/uncompressed/slack/webview.js +++ b/uncompressed/slack/webview.js | |||
@@ -9,7 +9,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de | |||
9 | const getTeamIcon = function getTeamIcon(count = 0) { | 9 | const getTeamIcon = function getTeamIcon(count = 0) { |
10 | let countTeamIconCheck = count; | 10 | let countTeamIconCheck = count; |
11 | let bgUrl = null; | 11 | let bgUrl = null; |
12 | const teamMenu = document.querySelector('#team-menu-trigger'); | 12 | const teamMenu = document.querySelector('#team-menu-trigger, .p-ia__sidebar_header__team_name'); |
13 | 13 | ||
14 | if (teamMenu) { | 14 | if (teamMenu) { |
15 | teamMenu.click(); | 15 | teamMenu.click(); |