Browse Source

Fix Slack Icon after Redesign

Fixes #191.

Co-authored-by: Marvin <marvin.koch@9elements.com>
pull/3202/head
TheGoddessInari 5 years ago
parent
commit
2726c275c7
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 2
      app/util/IconLoader.js

2
app/util/IconLoader.js

@ -23,7 +23,7 @@ Ext.define('Hamsket.util.IconLoader', {
`(() => {
let icon = document.querySelector('.c-team_icon');
if (!icon) {
const doc = document.querySelector('#team-menu-trigger');
const doc = document.querySelector('.p-ia__sidebar_header__button') || document.querySelector('#team-menu-trigger');
if (doc) {
doc.click();
icon = document.querySelector('.c-team_icon');

Loading…
Cancel
Save