mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +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