Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2657261484
@ -423,7 +423,7 @@
|
|||||||
|
|
||||||
switchTab (ev) {
|
switchTab (ev) {
|
||||||
if (ev && ev.preventDefault) { ev.preventDefault(); }
|
if (ev && ev.preventDefault) { ev.preventDefault(); }
|
||||||
const tab = ev.target,
|
const tab = u.hasClass('msgs-indicator', ev.target) ? ev.target.parentNode : ev.target,
|
||||||
sibling_li = tab.parentNode.nextElementSibling || tab.parentNode.previousElementSibling,
|
sibling_li = tab.parentNode.nextElementSibling || tab.parentNode.previousElementSibling,
|
||||||
sibling = sibling_li.firstChild,
|
sibling = sibling_li.firstChild,
|
||||||
sibling_panel = _converse.root.querySelector(sibling.getAttribute('href')),
|
sibling_panel = _converse.root.querySelector(sibling.getAttribute('href')),
|
||||||
|
Loading…
Reference in New Issue
Block a user