maybe fixed custom scrollbar, minor css issue

This commit is contained in:
ksjdragon 2015-02-01 22:51:16 -05:00
parent 961d1113c3
commit ac7aaa69c8
4 changed files with 6 additions and 7 deletions

View File

@ -14,5 +14,5 @@ mrt:purecss
fortawesome:fontawesome
templates:tabs
accounts-ui
maazalik:malihu-jquery-custom-scrollbar
percolate:momentum
maazalik:malihu-jquery-custom-scrollbar

View File

@ -141,9 +141,8 @@ Template.admin.rendered = function() {
$(".border.tabs-content").mCustomScrollbar({
theme: 'dark',
scrollInertia: 0,
mouseWheel: { deltaFactor: 40 },
scrollInertia: 10,
mouseWheel: { deltaFactor: 30 },
alwaysShowScrollbar: 2
});
}
}

View File

@ -18,7 +18,7 @@ Template.cart.helpers({
}
},
url: function() {
return Router.current().originalUrl.replace("/", "");
return Router.current().originalUrl.replace("http://cbook.meteor.com/", "");
}
});

View File

@ -18,7 +18,7 @@ Template.chromebook.helpers({
}
},
url: function() {
return Router.current().originalUrl.replace("/", "");
return Router.current().originalUrl.replace("http://cbook.meteor.com/", "");
}
});