Switch the font to roboto

This commit is contained in:
Maxime Quandalle 2015-08-20 15:54:50 +02:00
parent a79599d76c
commit 8ae6abe603
15 changed files with 62 additions and 29 deletions

View file

@ -1,6 +1,14 @@
Mixins.PerfectScrollbar = BlazeComponent.extendComponent({
onRendered: function() {
var component = this.mixinParent();
Ps.initialize(component.find('.js-perfect-scrollbar'));
var domElement = component.find('.js-perfect-scrollbar');
Ps.initialize(domElement);
// XXX We should create an event map to be consistent with other components
// but since BlazeComponent doesn't merge Mixins events transparently I
// prefered to use a jQuery event (which is what an event map ends up doing)
component.$(domElement).on('mouseenter', function() {
Ps.update(domElement);
});
}
});