kopia lustrzana https://github.com/lynn/hello-wordl
Make https links copyable too
rodzic
212466cd3d
commit
aba632ed13
|
@ -238,7 +238,7 @@ function Game(props: GameProps) {
|
||||||
</table>
|
</table>
|
||||||
<p
|
<p
|
||||||
role="alert"
|
role="alert"
|
||||||
style={{ userSelect: /http:/.test(hint) ? "text" : "none" }}
|
style={{ userSelect: /https?:/.test(hint) ? "text" : "none" }}
|
||||||
>
|
>
|
||||||
{hint || `\u00a0`}
|
{hint || `\u00a0`}
|
||||||
</p>
|
</p>
|
||||||
|
|
Ładowanie…
Reference in New Issue