mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 09:00:27 +00:00
Further fix html lang attribute (#8835)
This commit is contained in:
parent
370ca4b4c4
commit
ec0c91bca6
@ -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…
Reference in New Issue
Block a user