Skip to content

Commit

Permalink
Merge pull request #22 from adaptlearning/issue/21
Browse files Browse the repository at this point in the history
Fixes #21
  • Loading branch information
darylhedley committed Jan 28, 2014
2 parents cbbeb0b + 06ef830 commit 2feeb44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/adapt-contrib-hotgraphic.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define(function(require) {
this.listenTo(Adapt, 'remove', this.remove);
this.listenTo(this.model, 'change:_isVisible', this.toggleVisibility);
this.preRender();
if (Adapt.device.screenSize!='small') {
if (Adapt.device.screenSize=='large') {
this.render();
} else {
this.reRender();
Expand Down Expand Up @@ -46,7 +46,7 @@ define(function(require) {
},

reRender: function() {
if (Adapt.device.screenSize == 'small') {
if (Adapt.device.screenSize != 'large') {
this.replaceWithNarrative();
}
},
Expand Down

0 comments on commit 2feeb44

Please sign in to comment.