mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 07:01:47 +01:00
- Remove mouse scroll settings of already removed custom scrollbar.
- Add setting OAUTH2_ADFS_ENABLED=false - Add testing for both string and boolean version of true Thanks to xet7 ! Fixes #2949
This commit is contained in:
parent
67a58daaf3
commit
f6bdb4d694
13 changed files with 458 additions and 478 deletions
|
|
@ -1,22 +0,0 @@
|
|||
Meteor.startup(() => {
|
||||
// Mouse Scroll Intertia, issue #2949. Integer.
|
||||
if (process.env.SCROLLINERTIA !== '0') {
|
||||
Meteor.settings.public.SCROLLINERTIA = process.env.SCROLLINERTIA;
|
||||
} else {
|
||||
Meteor.settings.public.SCROLLINERTIA = 0;
|
||||
}
|
||||
|
||||
// Mouse Scroll Amount, issue #2949. "auto" or Integer.
|
||||
if (process.env.SCROLLAMOUNT !== 'auto') {
|
||||
Meteor.settings.public.SCROLLAMOUNT = process.env.SCROLLAMOUNT;
|
||||
} else {
|
||||
Meteor.settings.public.SCROLLAMOUNT = 'auto';
|
||||
}
|
||||
|
||||
// Mouse Scroll DeltaFactor, issue #2949. "auto" or Integer.
|
||||
if (process.env.SCROLLDELTAFACTOR !== 'auto') {
|
||||
Meteor.settings.public.SCROLLDELTAFACTOR = process.env.SCROLLDELTAFACTOR;
|
||||
} else {
|
||||
Meteor.settings.public.SCROLLDELTAFACTOR = 'auto';
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue