Skip to content

Commit

Permalink
tweak: readability
Browse files Browse the repository at this point in the history
  • Loading branch information
hsynlms committed Jan 15, 2022
1 parent bfbad46 commit fb5c941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zeynep.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
!zeynep.hasClass('submenu-opened') && zeynep.addClass('submenu-opened')

// scroll to top before submenu transition
zeynep[0].scrollTo({top: 0})
zeynep[0].scrollTo({ top: 0 })

eventController('opened', eventDetails)
})
Expand Down Expand Up @@ -75,7 +75,7 @@
!zeynep.find('.submenu.opened').length && zeynep.removeClass('submenu-opened')

// scroll to top between submenu transitions
subMenuEl[0].scrollTo({top: 0})
subMenuEl[0].scrollTo({ top: 0 })

eventController('closed', eventDetails)
})
Expand Down

0 comments on commit fb5c941

Please sign in to comment.