even when stubbing out the function for testing, this $.fn needs to return this (it's relied upon for chaining in nav)

This commit is contained in:
scottjehl 2012-01-10 13:23:55 +07:00
parent da9cbcf162
commit abe0571b73

View file

@ -54,6 +54,7 @@
//stub to prevent class removal
$.fn.animationComplete = function(callback){
callbackQueue.unshift(callback);
return this;
};
clearPageTransitionStack();