Added IntersectionObserver polyfill

This commit is contained in:
Grzegorz Leoniec 2019-03-12 13:58:07 +01:00
parent dc8c2e81aa
commit bb4afe79cb
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
2 changed files with 4 additions and 3 deletions

View File

@ -53,9 +53,7 @@ module.exports = {
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
script: [
{
src:
'https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver',
body: true
src: '/js/polyfill.min.js' // polyfill IntersectionObserver
}
]
},

3
static/js/polyfill.min.js vendored Normal file

File diff suppressed because one or more lines are too long