« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/common-util
diff options
context:
space:
mode:
Diffstat (limited to 'src/common-util')
-rw-r--r--src/common-util/wiki-data.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common-util/wiki-data.js b/src/common-util/wiki-data.js
index ae186065..00465668 100644
--- a/src/common-util/wiki-data.js
+++ b/src/common-util/wiki-data.js
@@ -641,5 +641,11 @@ export function sameDayAs(givenDate, thing) {
     }
   }
 
+  if (thing.isFlash) {
+    if (comapre(givenDate, thing.date)) {
+      return 'flash';
+    }
+  }
+
   return null;
 }