From c860819eb1a76f46a42f11dc13369a7e7c599cd4 Mon Sep 17 00:00:00 2001
From: ansuz <ansuz@transitiontech.ca>
Date: Wed, 22 Apr 2020 15:09:27 -0400
Subject: [PATCH] guard against coercing `undefined` to a string

visible in the author's tooltip when author marks were enabled
for the document, but hidden by the local user
---
 www/code/markers.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/code/markers.js b/www/code/markers.js
index 326de8be0..bf3f00f82 100644
--- a/www/code/markers.js
+++ b/www/code/markers.js
@@ -46,7 +46,7 @@ define([
             inclusiveRight: uid === Env.myAuthorId,
             css: "background-color: " + rgba,
             attributes: {
-                title: Env.opacity ? Messages._getKey('cba_writtenBy', [name]) : undefined,
+                title: Env.opacity ? Messages._getKey('cba_writtenBy', [name]) : '',
                 'data-type': 'authormark',
                 'data-uid': uid
             }