mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 22:33:16 +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…
Reference in New Issue
Block a user