Skip to content

Commit

Permalink
issue/114 Corrected class inheritance (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Apr 28, 2022
1 parent d062f1c commit 47d5d34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/BoxMenuView.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import BoxMenuGroupView from './BoxMenuGroupView';

class BoxMenuView extends MenuView {

className() {
return `${super.className()} boxmenu`;
}

initialize() {
super.initialize();
this.setStyles();
Expand Down Expand Up @@ -118,7 +122,6 @@ class BoxMenuView extends MenuView {

}

BoxMenuView.className = 'boxmenu';
BoxMenuView.template = 'boxMenu';

export default BoxMenuView;

0 comments on commit 47d5d34

Please sign in to comment.