Skip to content

Commit 422777d

Browse files
committed
spelling: tolerance
1 parent 20c1f28 commit 422777d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/assets/library/iframe-content.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,16 +545,16 @@
545545
}
546546

547547
function isSizeChangeDetected(){
548-
function checkTolarance(a,b){
548+
function checkTolerance(a,b){
549549
var retVal = Math.abs(a-b) <= tolerance;
550550
return !retVal;
551551
}
552552

553553
currentHeight = (undefined !== customHeight) ? customHeight : getHeight[heightCalcMode]();
554554
currentWidth = (undefined !== customWidth ) ? customWidth : getWidth();
555555

556-
return checkTolarance(height,currentHeight) ||
557-
(calculateWidth && checkTolarance(width,currentWidth));
556+
return checkTolerance(height,currentHeight) ||
557+
(calculateWidth && checkTolerance(width,currentWidth));
558558
}
559559

560560
function isForceResizableEvent(){

0 commit comments

Comments
 (0)