Update toolbox.js

Changed style attribute to categorystyle.
This commit is contained in:
amber-cd
2019-03-05 08:39:20 -05:00
committed by GitHub
parent 47fff5cddb
commit c2f30d4ca6

View File

@@ -334,7 +334,7 @@ Blockly.Toolbox.prototype.syncTrees_ = function(treeIn, treeOut, pathToMedia) {
}
}
var styleName = childIn.getAttribute('style');
var styleName = childIn.getAttribute('categorystyle');
var colour = childIn.getAttribute('colour');
if (colour && styleName) {