diff --git a/js/views/headerBarView.js b/js/views/headerBarView.js index c6ca92a553..92e0000b37 100644 --- a/js/views/headerBarView.js +++ b/js/views/headerBarView.js @@ -36,7 +36,7 @@ // Once we encounter a titleEl, realize we are now counting the right-buttons, not left for(i = 0; i < childNodes.length; i++) { c = childNodes[i]; - if (c.tagName && c.tagName.toLowerCase() == 'h1') { + if (c.classList && c.classList.contains('title')) { isCountingRightWidth = true; continue; }