From be01a4bd818ef3cefba3da471dccbf19ad8c75d1 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 3 May 2022 12:05:40 +0100 Subject: [PATCH] Commit missed file --- src/shouldShowPtt.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/shouldShowPtt.js diff --git a/src/shouldShowPtt.js b/src/shouldShowPtt.js new file mode 100644 index 0000000..a1b68e5 --- /dev/null +++ b/src/shouldShowPtt.js @@ -0,0 +1,3 @@ +export function shouldShowPtt() { + return window.location.hash.startsWith('#ptt'); +} \ No newline at end of file