mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-17 03:20:02 +00:00
Remove extraneous console.log
This commit is contained in:
parent
18dd8d4433
commit
7bc7f643b6
@ -66,7 +66,6 @@ exports.startup = function() {
|
|||||||
],
|
],
|
||||||
onSwitch: function(plugins) {
|
onSwitch: function(plugins) {
|
||||||
if($tw.browser) {
|
if($tw.browser) {
|
||||||
console.log("switching language",plugins)
|
|
||||||
var pluginTiddler = $tw.wiki.getTiddler(plugins[0]);
|
var pluginTiddler = $tw.wiki.getTiddler(plugins[0]);
|
||||||
if(pluginTiddler) {
|
if(pluginTiddler) {
|
||||||
document.documentElement.setAttribute("dir",pluginTiddler.getFieldString("text-direction") || "auto");
|
document.documentElement.setAttribute("dir",pluginTiddler.getFieldString("text-direction") || "auto");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user