Skip to content

Commit

Permalink
Merge pull request #118 from belal-almassri-spongeuk/master
Browse files Browse the repository at this point in the history
Fixes Hotgraphic when it is loaded on small devices issue.
  • Loading branch information
oliverfoster committed Oct 31, 2015
2 parents 526de00 + be18d2b commit 5a12360
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/adapt-contrib-hotgraphic.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ define(function(require) {
newNarrative.setupNarrative();
$container.append(newNarrative.$el);
Adapt.trigger('device:resize');
this.remove();
_.defer(_.bind(function () {
this.remove();
}, this));
},

prepareNarrativeModel: function() {
Expand Down

0 comments on commit 5a12360

Please sign in to comment.