mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Migrate core/utils/aria.js to ES6 const/let
This commit is contained in:
@@ -166,6 +166,6 @@ Blockly.utils.aria.setState = function(element, stateName, value) {
|
||||
if (Array.isArray(value)) {
|
||||
value = value.join(' ');
|
||||
}
|
||||
var attrStateName = Blockly.utils.aria.ARIA_PREFIX_ + stateName;
|
||||
const attrStateName = Blockly.utils.aria.ARIA_PREFIX_ + stateName;
|
||||
element.setAttribute(attrStateName, value);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user