Move menu outside menu button to reduce CSS side effects.
This commit is contained in:
parent
761b05876b
commit
b3cc978ae9
@ -66,7 +66,7 @@ class Menu
|
||||
$.on d, 'click CloseMenu', @close
|
||||
$.on d, 'scroll', @setPosition
|
||||
$.on window, 'resize', @setPosition
|
||||
$.add button, menu
|
||||
$.after button, menu
|
||||
|
||||
@setPosition()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user