From f478fa97fc047f0173df19aa534f84205c8e4513 Mon Sep 17 00:00:00 2001
From: Jermolene <jeremy@jermolene.com>
Date: Tue, 12 Dec 2017 18:15:33 +0000
Subject: [PATCH] Fix test regression caused by #3052

---
 core/modules/widgets/link.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/modules/widgets/link.js b/core/modules/widgets/link.js
index c00b37f17..4525d036c 100755
--- a/core/modules/widgets/link.js
+++ b/core/modules/widgets/link.js
@@ -76,7 +76,9 @@ LinkWidget.prototype.renderLink = function(parent,nextSibling) {
 				classes.push("tc-tiddlylink-resolves");
 			}
 		}
-		classes.push(this.linkClasses);
+		if(this.linkClasses) {
+			classes.push(this.linkClasses);			
+		}
 	} else if(this.overrideClasses !== "") {
 		classes.push(this.overrideClasses)
 	}