mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-23 04:51:55 -08:00
Further fix html lang attribute (#8835)
This commit is contained in:
parent
370ca4b4c4
commit
ec0c91bca6
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ exports.startup = function() {
|
|||
document.documentElement.setAttribute("lang",pluginTiddler.getFieldString("name"));
|
||||
document.documentElement.setAttribute("dir",pluginTiddler.getFieldString("text-direction") || "auto");
|
||||
} else {
|
||||
document.documentElement.setAttribute("lang","en-GB");
|
||||
document.documentElement.removeAttribute("dir");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue