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>
|
||||
<p
|
||||
role="alert"
|
||||
style={{ userSelect: /http:/.test(hint) ? "text" : "none" }}
|
||||
style={{ userSelect: /https?:/.test(hint) ? "text" : "none" }}
|
||||
>
|
||||
{hint || `\u00a0`}
|
||||
</p>
|
||||
|
|
Ładowanie…
Reference in New Issue