Add title to this text.

Most browsers popup the title= attribute on mouse-over.
This commit is contained in:
Bradley M. Kuhn 2015-12-24 14:21:47 -08:00
parent 78c4aad43a
commit 822b9b1fcf

View file

@ -119,6 +119,7 @@
textForPart = part.text; textForPart = part.text;
} }
$('<div></div>').addClass("ju-multiprogressbar-valuetext").text(textForPart).addClass(part.textClass).appendTo(partElement); $('<div></div>').addClass("ju-multiprogressbar-valuetext").text(textForPart).addClass(part.textClass).appendTo(partElement);
partElement.attr('title', textForPart);
} }
}); });
if (self.created === true) { // Don't trigger "change" when we are creating the progressbar for the first time if (self.created === true) { // Don't trigger "change" when we are creating the progressbar for the first time