Skip to content

Commit 2c8ff6b

Browse files
committed
Fix tidy js check
ref htacg/tidy-html5#65
1 parent f386e7f commit 2c8ff6b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

admin/translation-status/index.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
---
2-
---
3-
41
<!DOCTYPE html>
52
<html lang="en">
63
<head>
@@ -40,7 +37,7 @@ <h1>News Post Translation Status</h1>
4037
var code = window.navigator.language || window.navigator.userLanguage || "en";
4138
if (code.substr(0,2) !== "zh") { code = code.substr(0,2); }
4239
var language = code.replace(/-/g,'_').toLowerCase();
43-
document.write('<style type="text/css">.'+language+'{background-color:lightgray}</style>');
40+
document.write('<style type="text/css">.'+language+'{background-color:lightgray}<\/style>');
4441
</script>
4542
</body>
4643
</html>

0 commit comments

Comments
 (0)