« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/util/external-links.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js
index 46d6e0e9..edef0701 100644
--- a/src/util/external-links.js
+++ b/src/util/external-links.js
@@ -529,7 +529,7 @@ export function getMatchingDescriptorsForExternalLink(url, descriptors, {
       // "www" is never an acceptable subdomain for this purpose.
       // Sorry to people whose usernames are www!!
       if (domain.startsWith('www.')) {
-        break matchSubdomain;
+        return false;
       }
 
       return domain.endsWith(string);