mirror of
https://github.com/wekan/wekan.git
synced 2026-02-28 19:00:17 +01:00
Switch the font to roboto
This commit is contained in:
parent
a79599d76c
commit
8ae6abe603
15 changed files with 62 additions and 29 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue