From f5a587ce76c07eb479b98a243220bba41c62dbf6 Mon Sep 17 00:00:00 2001 From: nfreear Date: Mon, 19 Nov 2007 17:11:51 +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 0ac21766728..cc870f3acb4 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