Skip to content

Commit

Permalink
Merge pull request #690 from alphagov/update-webchat-predicate
Browse files Browse the repository at this point in the history
Update offer selector to match new eGain version
  • Loading branch information
robinwhittleton committed Dec 4, 2015
2 parents 109b2f5 + abc25f4 commit cec3b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/webchat-iframe.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit cec3b61

Please sign in to comment.