Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove lingering dojo reference, refs #14201 !strict.

  • Loading branch information...
commit dce98a08f64adae745b229df2121e17f415beb41 1 parent 08157b3
@wkeese wkeese authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dnd/Avatar.js
View
2  dnd/Avatar.js
@@ -91,7 +91,7 @@ return declare("dojo.dnd.Avatar", null, {
update: function(){
// summary:
// updates the avatar to reflect the current DnD state
- dojo[(this.manager.canDropFlag ? "add" : "remove") + "Class"](this.node, "dojoDndAvatarCanDrop");
+ domClass.toggle(this.node, "dojoDndAvatarCanDrop", this.manager.canDropFlag);
if (this.isA11y){
var icon = dom.byId("a11yIcon");
var text = '+'; // assume canDrop && copy
Please sign in to comment.
Something went wrong with that request. Please try again.