Skip to content

Commit

Permalink
Fixed default for resizeFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjbradshaw committed Jun 21, 2015
1 parent 21e69f5 commit 266876a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iframeResizer.contentWindow.js
Expand Up @@ -36,7 +36,7 @@
myID = '',
publicMethods = false,
resetRequiredMethods = {max:1,scroll:1,bodyScroll:1,documentElementScroll:1},
resizeFrom = 'parent',
resizeFrom = 'child',
targetOriginDefault = '*',
target = window.parent,
tolerance = 0,
Expand Down Expand Up @@ -106,7 +106,7 @@
bodyPadding = data[10];
tolerance = (undefined !== data[11]) ? Number(data[11]) : tolerance;
inPageLinks.enable = (undefined !== data[12]) ? strBool(data[12]): false;
resizeFrom = data[13];
resizeFrom = (undefined !== data[13]) ? data[13] : resizeFrom;
}

function chkCSS(attr,value){
Expand Down

0 comments on commit 266876a

Please sign in to comment.