Skip to content
Permalink
Browse files
fix error in removing banner in example view page.
  • Loading branch information
pissang committed Aug 13, 2020
1 parent 3f3ad6f commit 9c72be3df33653d52faa24e8a0603eed55c6f48f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -101,7 +101,7 @@ function changeLang(lang) {

function closeApacheBanner(isManualClose) {
var banner = document.getElementById('apache-banner');
banner.remove();
banner && banner.remove();

if (isManualClose) {
_hmt.push(['_trackEvent', 'apacheBanner', 'close']);

0 comments on commit 9c72be3

Please sign in to comment.