#menu-open-button clicked
.menu-item.has-sub-menu > a clicked
This shouldn't happen, because neither of the elements are (grand)children or siblings of one another.
And when I click a .menu-item:not(.has-sub-menu) a it executes all three event handlers. This should definitely not happen, because the last two events should be mutually exclusive...
Backbone passes the correct values to $el.on. This happened in version 1.0.27 but in version 1.0.26 everything was still fine.
I use this code to add events to my backbone view:
And this is the html I use:
The view's
el
property is theul#menu
element.When I click the
#menu-open-button
it logsThis shouldn't happen, because neither of the elements are (grand)children or siblings of one another.
And when I click a
.menu-item:not(.has-sub-menu) a
it executes all three event handlers. This should definitely not happen, because the last two events should be mutually exclusive...Backbone passes the correct values to
$el.on
. This happened in version 1.0.27 but in version 1.0.26 everything was still fine.