Make topbar sticky and set sticky cta header so it sticks below topbar

This commit is contained in:
leigh-mil
2019-08-29 17:03:55 -04:00
parent 2b11debe5d
commit 6669608038
4 changed files with 14 additions and 4 deletions

View File

@@ -130,8 +130,12 @@ const app = new Vue({
directives: {
sticky: {
inserted: el => {
stickybits(el)
inserted: (el, binding) => {
var customAttributes
if (binding.expression) {
customAttributes = JSON.parse(binding.expression)
}
stickybits(el, customAttributes)
},
},
},