Skip to content
Browse files

MDL-33835 Marking Guide - set currentfocus var to the first criteria …

…comment to avoid JS errors.
  • Loading branch information...
1 parent 9a211c8 commit 7debccbdee9f8157d320d1a637b1eccf5a376090 @danmarsden danmarsden committed with danpoltawski
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/grading/form/guide/js/guide.js
View
2 grade/grading/form/guide/js/guide.js
@@ -4,7 +4,7 @@ M.gradingform_guide = {};
* This function is called for each guide on page.
*/
M.gradingform_guide.init = function(Y, options) {
- var currentfocus = null;
+ var currentfocus = Y.one('.markingguideremark');
Y.all('.markingguideremark').on('blur', function(e) {
currentfocus = e.currentTarget;

0 comments on commit 7debccb

Please sign in to comment.
Something went wrong with that request. Please try again.