From 32d7bb16e5cc5f72fa39b75faa0fbfa4b012a617 Mon Sep 17 00:00:00 2001 From: James Allen Date: Tue, 11 Oct 2016 09:40:15 +0100 Subject: [PATCH] Be more explicit with query string to turn on track changes --- .../web/public/coffee/ide/editor/directives/aceEditor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor.coffee index 465a7185df..b212039d9f 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor.coffee @@ -71,7 +71,7 @@ define [ highlightsManager = new HighlightsManager(scope, editor, element) cursorPositionManager = new CursorPositionManager(scope, editor, element, localStorage) trackChangesManager = new TrackChangesManager(scope, editor, element) - if window.location.search.match /tcon/ # track changes on + if window.location.search.match /tcon=true/ # track changes on trackChangesManager.enabled = true # Prevert Ctrl|Cmd-S from triggering save dialog