Merge pull request #3134 from edx/dcs/a11y-gentle-alert

Fixes LMS-2474 by ensuring that readElts reads always reads an element
This commit is contained in:
Dave St.Germain
2014-04-01 13:15:27 -04:00
4 changed files with 31 additions and 7 deletions

View File

@@ -158,9 +158,7 @@ $(function(){
};
SRAlert.prototype.readElts = function(elts) {
var feedback,
_this = this;
feedback = '';
var feedback = '';
$.each(elts, function(idx, value) {
return feedback += '<p>' + $(value).html() + '</p>\n';
});