Make https links copyable too

This commit is contained in:
Lynn
2022-01-21 00:20:42 +01:00
parent 212466cd3d
commit aba632ed13

View File

@@ -238,7 +238,7 @@ function Game(props: GameProps) {
</table>
<p
role="alert"
style={{ userSelect: /http:/.test(hint) ? "text" : "none" }}
style={{ userSelect: /https?:/.test(hint) ? "text" : "none" }}
>
{hint || `\u00a0`}
</p>