translator: style adjustments

This commit is contained in:
hallgren
2012-06-19 14:45:50 +00:00
parent 5a96795039
commit 983c72ba66
2 changed files with 12 additions and 4 deletions

View File

@@ -442,7 +442,7 @@ Translator.prototype.import=function(el) {
// Allow import from local files, if the browers supports it.
// See http://www.html5rocks.com/en/tutorials/file/dndfiles/
var files=node("input",{name:"files","type":"file"})
var extra=wrap("span",[text("Choose a file: "),
var extra=wrap("label",[text("Choose a file: "),
files,
text(" and/or enter text to import below.")])
e.insertBefore(extra,inp)