From e53c74d2320dc09582c9a176d91b59f7992ad9e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8jberg?= Date: Sat, 20 Jul 2024 12:16:36 -0400 Subject: [PATCH] Don't use label when not paired with an input --- src/Code/ProjectName.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Code/ProjectName.elm b/src/Code/ProjectName.elm index a8af8833..36df95fb 100644 --- a/src/Code/ProjectName.elm +++ b/src/Code/ProjectName.elm @@ -3,7 +3,7 @@ module Code.ProjectName exposing (..) import Code.Hash as Hash import Code.Hashvatar as Hashvatar import Code.ProjectSlug as ProjectSlug exposing (ProjectSlug) -import Html exposing (Html, label, span, text) +import Html exposing (Html, span, text) import Html.Attributes exposing (class, title) import Json.Decode as Decode import Lib.UserHandle as UserHandle exposing (UserHandle) @@ -185,7 +185,7 @@ view_ handleClick slugClick ((ProjectName handle_ slug_) as projectName_) = Nothing -> span [ class "project-name_slug" ] [ text (ProjectSlug.toString slug_) ] in - label [ class "project-name", title (toString projectName_) ] + span [ class "project-name", title (toString projectName_) ] [ handle__ , span [ class "project-name_separator" ] [ text "/" ] , slug__