key value switched in angular foreach (fixes #2470)
This commit is contained in:
parent
c2a1675e37
commit
5272a3c1bb
@ -488,7 +488,7 @@ angular.module('OpenSlidesApp.core', [
|
||||
},
|
||||
getStateForCurrentSlide: function () {
|
||||
var return_dict;
|
||||
angular.forEach(this.elements, function(key, value) {
|
||||
angular.forEach(this.elements, function(value, key) {
|
||||
if (value.name == 'agenda/list-of-speakers') {
|
||||
return_dict = {
|
||||
'state': 'agenda.item.detail',
|
||||
|
Loading…
Reference in New Issue
Block a user