73rd time is the charm ...
git-svn-id: https://svn.apache.org/repos/asf/concom/site/trunk@1874461 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/content/js/events-calendar.js b/content/js/events-calendar.js
index 461a5cd..f7a5c35 100644
--- a/content/js/events-calendar.js
+++ b/content/js/events-calendar.js
@@ -64,11 +64,10 @@
var html = "<li>";
if (link) { html += "<a href='" + link + "'>"; }
- var name = ev.summary;
- if name.match(official) {
- html += "<b>" + name + "</b>";
+ if (ev.summary.match(official)) {
+ html += "<b>" + ev.summary + "</b>";
} else {
- html += name;
+ html += ev.summary;
}
if (link) { html += "</a>"; }
html += " - <i>" + when + "</i>";