Skip to content

Commit

Permalink
Merge pull request alvarotrigo#40 from taehwanjo/patch-1
Browse files Browse the repository at this point in the history
Typo.
  • Loading branch information
alvarotrigo committed Oct 16, 2013
2 parents 17998c9 + b83db9f commit 4591281
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jquery.fullPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@
/**
* Resizing of the font size depending on the window size as well as some of the images on the site.
*/
function resizeMe(displayHeight, displayWitdh) {
function resizeMe(displayHeight, displayWidth) {
//Standard height, for which the body font size is correct
var preferredHeight = 825;
var windowSize = displayHeight;
Expand All @@ -663,9 +663,9 @@
});
}*/

if (displayHeight < 825 || displayWitdh < 900) {
if (displayWitdh < 900) {
windowSize = displayWitdh;
if (displayHeight < 825 || displayWidth < 900) {
if (displayWidth < 900) {
windowSize = displayWidth;
preferredHeight = 900;
}
var percentage = (windowSize * 100) / preferredHeight;
Expand Down

0 comments on commit 4591281

Please sign in to comment.