Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.project
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>FlowType.JS</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
4 changes: 3 additions & 1 deletion flowtype.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
// Context for resize callback
var that = this;
// Make changes upon resize
$(window).resize(function(){changes(that);});
$(window).on('resize orientationchange', function(){
changes(that);
});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3

// Set changes on load
changes(this);
});
Expand Down