Reset sticky component before clicking back button on browser
This commit is contained in:
@@ -9,3 +9,5 @@ App.FoundationExtras =
|
||||
$("[data-sticky]").foundation("destroy") if $("[data-sticky]").length
|
||||
|
||||
$(document).on("page:before-unload", clearSticky)
|
||||
|
||||
window.addEventListener("popstate", clearSticky, false)
|
||||
|
||||
Reference in New Issue
Block a user