diff --git a/app/assets/javascripts/webchat-iframe.html.erb b/app/assets/javascripts/webchat-iframe.html.erb index 006a2f6e1..02e5ecb0e 100644 --- a/app/assets/javascripts/webchat-iframe.html.erb +++ b/app/assets/javascripts/webchat-iframe.html.erb @@ -11,7 +11,7 @@ 'use strict'; function isOfferOpen() { - var ribbonContainer = document.querySelector('#egofr-hmrc5-container'); + var ribbonContainer = document.querySelector('#egofr-hmrc-container'); return ribbonContainer && ribbonContainer.parentNode.style.visibility !== 'hidden'; }