animation fix

This commit is contained in:
ksjdragon 2015-01-31 22:32:23 -05:00
parent d2b12ae8c1
commit bd24cdf832
5 changed files with 15 additions and 16 deletions

View File

@ -119,6 +119,8 @@ Template.admin.rendered = function() {
$(".border.tabs-content").mCustomScrollbar({
theme: 'dark',
scrollInertia: 0,
mouseWheelPixels: 30
mouseWheelPixels: 40,
contentTouchScroll: 30
});
}

View File

@ -27,6 +27,7 @@ Template.checkout.rendered = function() {
$(".chckChromebooks").mCustomScrollbar({
theme: 'dark',
scrollInertia: 0,
mouseWheelPixels: 30
mouseWheelPixels: 40,
contentTouchScroll: 30
});
}

View File

@ -25,14 +25,9 @@ Momentum.registerPlugin('slide-fade', function(options) {
removeElement: function(node, done) {
var $node = $(node);
$node.velocity('slideUp', {
easing: options.easing,
duration: options.duration,
complete: function() {
$node.remove();
done();
}
});
$node
.velocity('fadeOut');
}
}
});

View File

@ -27,6 +27,7 @@ Template.teacher.rendered = function() {
$(".tchChromebooks").mCustomScrollbar({
theme: 'dark',
scrollInertia: 0,
mouseWheelPixels: 30
mouseWheelPixels: 40,
contentTouchScroll: 30
});
}

View File

@ -15,11 +15,11 @@ Meteor.publish('carts', function() {
});
var adminusers = [
"ybq987@gmail.com",
"mminer@bloomfield.org",
"qalieh.yaman90@bloomfield.org",
"ksjdragon@gmail.com",
"chthomas@bloomfield.org"
"chthomas@bloomfield.org",
"ybq987@gmail.com"
];
for (var i = 0; i < adminusers.length; i++) {
var adminuser = adminusers[i];