diff --git a/js/HotgridView.js b/js/HotgridView.js index e6b1ee9..ca00017 100644 --- a/js/HotgridView.js +++ b/js/HotgridView.js @@ -12,7 +12,6 @@ class HotgridView extends ComponentView { this.onItemClicked = this.onItemClicked.bind(this); this.setUpViewData(); - this.setUpEventListeners(); } setUpViewData() { @@ -20,10 +19,6 @@ class HotgridView extends ComponentView { this._isPopupOpen = false; } - setUpEventListeners() { - this.listenTo(Adapt, 'device:changed', this.resizeControl); - } - postRender() { this.$('.hotgrid__widget').imageready(this.setReadyStatus.bind(this)); @@ -32,10 +27,6 @@ class HotgridView extends ComponentView { } } - resizeControl() { - this.render(); - } - onItemClicked(e) { e.preventDefault();