summaryrefslogtreecommitdiff
path: root/elm/Lib/TextPreview.elm
diff options
context:
space:
mode:
Diffstat (limited to 'elm/Lib/TextPreview.elm')
-rw-r--r--elm/Lib/TextPreview.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/Lib/TextPreview.elm b/elm/Lib/TextPreview.elm
index 8c9e3287..2d565e5f 100644
--- a/elm/Lib/TextPreview.elm
+++ b/elm/Lib/TextPreview.elm
@@ -74,7 +74,7 @@ view name model cmdmap width attr =
div [ class "textpreview", style "width" (String.fromInt width ++ "px") ]
[ p (class "head" :: (if model.data == "" then [class "invisible"] else []))
[ case model.state of
- Api.Loading -> div [ class "spinner" ] []
+ Api.Loading -> span [ class "spinner" ] []
Api.Error _ -> b [ class "grayedout" ] [ text "Error loading preview. " ]
Api.Normal -> text ""
, if display