Skip to content

Commit 59c36a9

Browse files
committed
fixed text indents
1 parent bddaac5 commit 59c36a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jquery.scrollIntoView.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
// get enclosing offsets
3333
var elY = Infinity, elH = 0;
34-
if (this.size()==1)((elY=this.get(0).offsetTop)==null||(elH=elY+this.get(0).offsetHeight));
35-
else this.each(function(n){(n.offsetTop<elY?elY=n.offsetTop:n.offsetTop+n.offsetHeight>elH?elH=n.offsetTop+n.offsetHeight:null);});
34+
if (this.size()==1)((elY=this.get(0).offsetTop)==null||(elH=elY+this.get(0).offsetHeight));
35+
else this.each(function(n){(n.offsetTop<elY?elY=n.offsetTop:n.offsetTop+n.offsetHeight>elH?elH=n.offsetTop+n.offsetHeight:null);});
3636
elH -= elY;
3737

3838
// start from the common ancester
@@ -67,7 +67,7 @@
6767
duration: null,
6868
easing: $.easing && $.easing.easeOutExpo ? 'easeOutExpo': null,
6969
// Note: easeOutExpo requires jquery.effects.core.js
70-
// otherwise jQuery will default to use 'swing'
70+
// otherwise jQuery will default to use 'swing'
7171
complete: $.noop(),
7272
step: null,
7373
specialEasing: null

0 commit comments

Comments
 (0)