Skip to content

Commit

Permalink
Merge pull request #113 from nilslp/breakpoint-for-view-change
Browse files Browse the repository at this point in the history
Fix for the breakpoint issue
  • Loading branch information
Himanshu Rajotia committed May 19, 2015
2 parents 192ba3f + 1655868 commit 7d2efd1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adapt-contrib-narrative",
"version": "1.1.5",
"version": "1.1.6",
"homepage": "https://github.com/adaptlearning/adapt-contrib-narrative",
"authors": [
"Brian Quinn <[email protected]>",
Expand All @@ -18,4 +18,4 @@
"adapt-component"
],
"license": "GPLv3"
}
}
4 changes: 3 additions & 1 deletion js/adapt-contrib-narrative.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ define(function(require) {
reRender: function() {
if (this.model.get('_wasHotgraphic') && Adapt.device.screenSize == 'large') {
this.replaceWithHotgraphic();
} else {
this.resizeControl();
}
},

Expand Down Expand Up @@ -301,4 +303,4 @@ define(function(require) {

return Narrative;

});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adapt-contrib-narrative",
"version": "1.1.5",
"version": "1.1.6",
"description": "An narrative component",
"main": "",
"scripts": {
Expand Down

0 comments on commit 7d2efd1

Please sign in to comment.