diff options
-rw-r--r-- | webgui/src/Main.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webgui/src/Main.hs b/webgui/src/Main.hs index 4f2c83c..141b0ea 100644 --- a/webgui/src/Main.hs +++ b/webgui/src/Main.hs | |||
@@ -115,6 +115,7 @@ setup Config{..} window (split -> (socketErr, dataUpdate)) = void $ do | |||
115 | errorsTab = maybe (fatal "Could not make nonfatal errors visible") return =<< getElementById window "errors-tab" | 115 | errorsTab = maybe (fatal "Could not make nonfatal errors visible") return =<< getElementById window "errors-tab" |
116 | errors #+ [UI.li # set TP.text str] | 116 | errors #+ [UI.li # set TP.text str] |
117 | errorsTab # set style [("display", "inline-block")] | 117 | errorsTab # set style [("display", "inline-block")] |
118 | switchTab "errors" | ||
118 | fatal :: String -> UI a | 119 | fatal :: String -> UI a |
119 | fatal str = do | 120 | fatal str = do |
120 | (getBody window #) . set children =<< sequence [UI.p # set TP.text str # set UI.class_ "fatal"] | 121 | (getBody window #) . set children =<< sequence [UI.p # set TP.text str # set UI.class_ "fatal"] |