mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 11:20:53 +01:00
use for..in loop instead of for..of to increase compatibility
This commit is contained in:
@@ -93,8 +93,8 @@
|
||||
var changeAllSelector = document.getElementById('changeAll');
|
||||
changeAllSelector.onchange = function () {
|
||||
var strategySelects = document.getElementsByClassName('strategy-select');
|
||||
for (var strategySelect of strategySelects) {
|
||||
strategySelect.value = changeAllSelector.value;
|
||||
for (var index in strategySelects) {
|
||||
strategySelects[index].value = changeAllSelector.value;
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user