summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/play.js b/play.js
index 0d5845e..f892bd9 100644
--- a/play.js
+++ b/play.js
@@ -583,6 +583,13 @@ function on_log(text) { // eslint-disable-line no-unused-vars
else if (text.match(/^\.h2/)) {
text = text.substring(4)
p.className = 'h2'
+ if (text.match(/^FLN /)) {
+ p.classList.add("fln")
+ } else if (text.match(/^Government /)) {
+ p.classList.add("gov")
+ } else {
+ p.classList.add("both")
+ }
}
else if (text.match(/^\.h3/)) {
text = text.substring(4)