Ensure showTrackChangesOnboarding is a boolean

This commit is contained in:
James Allen 2017-02-14 11:13:12 +01:00
parent c08c8e09ff
commit 34c07b97b9

View file

@ -108,7 +108,7 @@ block requirejs
window.anonymous = #{anonymous};
window.maxDocLength = #{maxDocLength};
window.trackChangesEnabled = #{trackChangesEnabled};
window.showTrackChangesOnboarding = #{showTrackChangesOnboarding};
window.showTrackChangesOnboarding = #{!!showTrackChangesOnboarding};
window.wikiEnabled = #{!!(settings.apis.wiki && settings.apis.wiki.url)};
window.requirejs = {
"paths" : {