mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
parent
def8f3f1bd
commit
ae2e7e56bf
|
@ -47,7 +47,7 @@ impl JavaScriptFile {
|
||||||
self.hash
|
self.hash
|
||||||
}
|
}
|
||||||
|
|
||||||
/// returns a <script> HTML tag
|
/// returns a `<script>` HTML tag
|
||||||
fn as_tag(self) -> String {
|
fn as_tag(self) -> String {
|
||||||
let typeattr = match self.filetype {
|
let typeattr = match self.filetype {
|
||||||
Some(val) => format!("type=\"{}\" ", val),
|
Some(val) => format!("type=\"{}\" ", val),
|
||||||
|
|
Loading…
Reference in a new issue