client-options: add client-sync option to allow disabling client synchronization

This commit is contained in:
jean-emmanuel 2022-10-17 20:17:16 +02:00
parent 5df9c436b2
commit 1eec9833f0
5 changed files with 14 additions and 2 deletions

View file

@ -28,6 +28,7 @@ document.documentElement.style.setProperty('font-size', PXSCALE + 'px')
window.DOUBLE_TAP_TIME = ENV.doubletap ? parseInt(ENV.doubletap) : 375
window.CLIENT_SYNC = parseInt(ENV.clientSync) === 0 ? 0 : 1
window.JSON.parseFlex = require('json5').parse