Browse Source

Fixes #871 easing missing from popup

pull/881/head
jlukic 10 years ago
parent
commit
097d874fbc
1 changed files with 9 additions and 1 deletions
  1. 10
      src/modules/popup.js

10
src/modules/popup.js

@ -807,7 +807,7 @@ $.fn.popup.settings = {
preserve : false,
duration : 250,
easing : 'easeOutQuint',
easing : 'easeOutQuad',
transition : 'scale',
distanceAway : 0,
@ -856,4 +856,12 @@ $.fn.popup.settings = {
};
// Adds easing
$.extend( $.easing, {
easeOutQuad: function (x, t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
}
});
})( jQuery, window , document );
Loading…
Cancel
Save