From 9523ad0ab74f52c669cde24f296e79d327006b0e Mon Sep 17 00:00:00 2001 From: nfreear Date: Mon, 19 Nov 2007 15:26:29 +0000 Subject: [PATCH] Initial fix for MDL-12256, "Course AJAX has very poor accessibility - ALT text" - test, imgAttributes.length NOT attributes.length. Merged. --- lib/ajax/ajaxcourse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ajax/ajaxcourse.js b/lib/ajax/ajaxcourse.js index 0dfd6de5227..723140944ff 100644 --- a/lib/ajax/ajaxcourse.js +++ b/lib/ajax/ajaxcourse.js @@ -160,7 +160,7 @@ main_class.prototype.mk_button = function(tag, imgSrc, attributes, imgAttributes } } if (imgAttributes != null) { - for (var c=0; c