Commit d4ab2b8f by Adam

Merge pull request #3962 from edx/dcs/BLD-1104

Fixes BLD-1104
parents 85565a3d b073cfae
...@@ -237,10 +237,10 @@ return { ...@@ -237,10 +237,10 @@ return {
}, },
'toggleTargets': function (isEnabled) { 'toggleTargets': function (isEnabled) {
var effect = (isEnabled ? 'move' : undefined); var effect = isEnabled ? 'move' : null;
this.state.baseImageEl.attr('aria-dropeffect', effect);
$.each(this.state.targets, function (target) { this.state.baseImageEl.attr('aria-dropeffect', effect);
$.each(this.state.targets, function (index, target) {
target.targetEl.attr('aria-dropeffect', effect); target.targetEl.attr('aria-dropeffect', effect);
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment