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 fortawesome:fontawesome
templates:tabs templates:tabs
accounts-ui accounts-ui
maazalik:malihu-jquery-custom-scrollbar
percolate:momentum percolate:momentum
maazalik:malihu-jquery-custom-scrollbar

View File

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

View File

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