mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Add use_native_scrollbars setting
This commit is contained in:
parent
c2ab03f69c
commit
99cdd1f43f
3 changed files with 10 additions and 3 deletions
9
dev/External/ko.js
vendored
9
dev/External/ko.js
vendored
|
|
@ -756,8 +756,13 @@
|
|||
|
||||
ko.bindingHandlers.nano = {
|
||||
'init': function (oElement) {
|
||||
var Globals = require('Common/Globals');
|
||||
if (!Globals.bDisableNanoScroll)
|
||||
|
||||
var
|
||||
Globals = require('Common/Globals'),
|
||||
Settings = require('Storage/Settings')
|
||||
;
|
||||
|
||||
if (!Globals.bDisableNanoScroll && !Settings.appSettingsGet('useNativeScrollbars'))
|
||||
{
|
||||
$(oElement)
|
||||
.addClass('nano')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue