1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-07 19:13:00 +00:00

fixes of a newbie, me

This commit is contained in:
João Bolila
2014-01-12 17:09:24 +00:00
parent c5035fc0b0
commit 426f2978cf
4 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ CodeBlockWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
var codeNode = this.document.createElement("code");
if (this.getAttribute("language")) {
if(this.getAttribute("language")) {
codeNode.setAttribute("class",this.getAttribute("language"));
}
var domNode = this.document.createElement("pre");