Ha - thanks for the direction! I hadn’t thought of including conditions… seems to work on my first test.
export function anchorFeature1bot_viewportLeave(event) {
if (page==='f1') {
page='home'
wixWindow.scrollTo(0,0)
...
Ha - thanks for the direction! I hadn’t thought of including conditions… seems to work on my first test.
export function anchorFeature1bot_viewportLeave(event) {
if (page==='f1') {
page='home'
wixWindow.scrollTo(0,0)
...