Make https links copyable too

pull/55/head
Lynn 2022-01-21 00:20:42 +01:00
rodzic 212466cd3d
commit aba632ed13
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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>