From ccf033a8d9ce01f9439473629b4fb5687674026a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 1 May 2020 23:14:01 +0200 Subject: view/html: Move script tag into body and remove type. * mumi/web/view/html.scm (layout): Move script tag into body and remove unnecessary type attribute. --- mumi/web/view/html.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm index ec49549..40d9048 100644 --- a/mumi/web/view/html.scm +++ b/mumi/web/view/html.scm @@ -84,10 +84,9 @@ "Now with even more " (span (@ (class "lambda")) "λ") "! ") (p "This is free software. Download the " (a (@ (href "https://git.elephly.net/software/mumi.git")) - "source code here") "."))) - (script - (@ (type "text/javascript") - (src "/js/sort-table.js")))))) + "source code here") ".")) + (script + (@ (src "/js/sort-table.js"))))))) (define* (search-form #:key (standalone? #f) (text "")) `(form (@ (id "search") -- cgit v1.2.3