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:
@@ -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';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user