From 3b3e9e79fa1841d41d65317a626c7aa5f6b39fc3 Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Thu, 25 Jul 2019 12:03:03 +0100 Subject: [PATCH] Merge pull request #2007 from overleaf/bg-enable-doc-hash-checking-for-all-users enable doc hash checking for all users GitOrigin-RevId: 9f26580bf21791669361cc84ca2fa561b1bb3f50 --- services/web/app/views/project/editor.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/web/app/views/project/editor.pug b/services/web/app/views/project/editor.pug index 2afc8c8a95..cb127212b9 100644 --- a/services/web/app/views/project/editor.pug +++ b/services/web/app/views/project/editor.pug @@ -181,9 +181,9 @@ block requirejs window.aceWorkerPath = "#{aceWorkerPath}"; window.pdfCMapsPath = "#{pdfCMapsPath}" window.uiConfig = JSON.parse('!{StringHelper.stringifyJsonForScript(uiConfig)}'); - //- enable doc hash checking for projects created after 2019-06-09 - //- this is for a staged rollout, eventually we will turn this on for all projects - window.useShareJsHash = (window.project_id > "5cfd8f700000000000000000") + //- enable doc hash checking for all projects + //- used in public/js/libs/sharejs.js + window.useShareJsHash = true - if (settings.overleaf != null) script(type='text/javascript').