Skip to content

Commit

Permalink
Merge branch 'MDL-59499-master-classfix' of github.com:snake/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jul 26, 2017
2 parents 9e27e29 + 9e9ed46 commit a5164e8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Expand Up @@ -1360,6 +1360,7 @@ Category.prototype = {
return Templates.renderPix('t/switch_minus', 'core', string);
})
.then(function(html) {
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
return action.set('innerHTML', html);
}).fail(Notification.exception);
});
Expand Down Expand Up @@ -1389,6 +1390,7 @@ Category.prototype = {
return Templates.renderPix('t/switch_plus', 'core', string);
})
.then(function(html) {
html = Y.Node.create(html).addClass('tree-icon').getDOMNode().outerHTML;
return action.set('innerHTML', html);
}).fail(Notification.exception);
});
Expand Down

0 comments on commit a5164e8

Please sign in to comment.