Replace vue-sticky with stickybits for IE compat

This commit is contained in:
richard-dds
2019-06-04 11:22:35 -04:00
parent 79a118a95c
commit 84146608c7
4 changed files with 19 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ import classes from '../styles/atat.scss'
import Vue from 'vue/dist/vue'
import VTooltip from 'v-tooltip'
import VueSticky from 'vue-sticky'
import stickybits from 'stickybits'
import dodlogin from './components/dodlogin'
import levelofwarrant from './components/levelofwarrant'
@@ -115,5 +116,11 @@ const app = new Vue({
},
delimiters: ['!{', '}'],
directives: { sticky: VueSticky },
directives: {
sticky: {
inserted: el => {
stickybits(el)
},
},
},
})