Delete redudant type attribute in script_tag

This commit is contained in:
Kaelig
2021-05-14 08:02:57 -07:00
parent b9e0d28729
commit 8ece160330
+1 -1
View File
@@ -14,7 +14,7 @@ module ShopFilter
end
def script_tag(url)
%(<script src="#{url}" type="text/javascript"></script>)
%(<script src="#{url}"></script>)
end
def stylesheet_tag(url, media = "all")