Browse Source

Added resize event to the toggleSelectComponent function.

pull/819/head
Juan Martín Pithod 9 years ago
parent
commit
c980ee0479
  1. 1
      src/commands/view/SelectComponent.js

1
src/commands/view/SelectComponent.js

@ -54,6 +54,7 @@ module.exports = {
methods[method](body, 'click', this.onClick); methods[method](body, 'click', this.onClick);
methods[method](win, 'scroll', this.onFrameScroll); methods[method](win, 'scroll', this.onFrameScroll);
methods[method](win, 'keydown', this.onKeyPress); methods[method](win, 'keydown', this.onKeyPress);
methods[method](win, 'resize', this.onFrameScroll);
em[method]('change:selectedComponent', this.onSelect, this); em[method]('change:selectedComponent', this.onSelect, this);
}, },

Loading…
Cancel
Save