mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Added stylability to HTML.label()
This commit is contained in:
parent
4ce479f693
commit
155bf379cc
@ -117,7 +117,8 @@ HTML.label = function(type,value,classes) {
|
||||
classes = (classes || []).slice(0);
|
||||
classes.push("label");
|
||||
return HTML.elem("span",{
|
||||
"class": classes
|
||||
"class": classes,
|
||||
"data-tw-label-type": type
|
||||
},value);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user