another fix for IE11 (#1102)

This commit is contained in:
ChaosKid42 2018-05-13 12:39:16 +02:00 committed by JC Brand
parent 63764a7d51
commit 4bdc9636b4
3 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@
- Spoiler messages didn't include the message author's name.
- Documentation includes utf-8 charset to make minfied versions compatible across platforms. #1017
- #1026 Typing in MUC shows "Typing from another device"
- #1039 Multi-option data form elements not shown and saved correctly
### API changes
- `_converse.api.vcard.get` now also accepts a `Backbone.Model` instance and

View File

@ -617,7 +617,7 @@
* (String) selector - the selector they should be matched
* against.
*/
return _.filter(el.children, _.partial(u.matchesSelector, _, selector));
return _.filter(el.childNodes, _.partial(u.matchesSelector, _, selector));
};
u.contains = function (attr, query) {

View File

@ -98,7 +98,7 @@
return tpl_select_option({
'value': value,
'label': option.getAttribute('label'),
'selected': values.includes(value),
'selected': _.includes(values, value),
'required': !_.isNil(field.querySelector('required'))
})
}