(splash, appContent)
| 22 | } |
| 23 | |
| 24 | function removeSplash(splash, appContent) { |
| 25 | if (splash.dataset.splashRemoved === '1') { |
| 26 | return; |
| 27 | } |
| 28 | |
| 29 | splash.dataset.splashRemoved = '1'; |
| 30 | splash.hidden = true; |
| 31 | splash.setAttribute('aria-hidden', 'true'); |
| 32 | |
| 33 | if (appContent) { |
| 34 | appContent.classList.remove('has-splash'); |
| 35 | } |
| 36 | |
| 37 | splash.remove(); |
| 38 | } |
| 39 | |
| 40 | function initSplash(splash) { |
| 41 | if (window.__analyticsAppScriptLoaded !== true) { |