Be more explicit with query string to turn on track changes

This commit is contained in:
James Allen 2016-10-11 09:40:15 +01:00
parent 9682af3981
commit 32d7bb16e5

View file

@ -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