Turbolinks doesn't get on well with Foundation's Sticky, and so we need to manually trigger the event on Turbolinks' `page:load`.
6 lines
109 B
CoffeeScript
6 lines
109 B
CoffeeScript
App.FoundationExtras =
|
|
|
|
initialize: ->
|
|
$(document).foundation()
|
|
$(window).trigger "load.zf.sticky"
|