little bug in $.fx.fadeTo
This commit is contained in:
parent
330867ac2f
commit
65b1081e9e
2
fx/fx.js
2
fx/fx.js
|
@ -51,7 +51,7 @@ $.fn.fadeIn = function(a,o) {
|
||||||
$.fn.fadeTo = function(a,ev,o) {
|
$.fn.fadeTo = function(a,ev,o) {
|
||||||
o = $.speed(a,o);
|
o = $.speed(a,o);
|
||||||
return a ? this.each(function(){
|
return a ? this.each(function(){
|
||||||
ef = new fx.Opacity(this,o);
|
ef = new $.fx.Opacity(this,o);
|
||||||
ef.custom(ef.cur(),parseFloat(ev));
|
ef.custom(ef.cur(),parseFloat(ev));
|
||||||
ef.show();
|
ef.show();
|
||||||
}) : this._show();
|
}) : this._show();
|
||||||
|
|
Loading…
Reference in a new issue