Commit 4bdc9636 authored by ChaosKid42's avatar ChaosKid42 Committed by JC Brand

another fix for IE11 (#1102)

parent 63764a7d
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
- Spoiler messages didn't include the message author's name. - Spoiler messages didn't include the message author's name.
- Documentation includes utf-8 charset to make minfied versions compatible across platforms. #1017 - Documentation includes utf-8 charset to make minfied versions compatible across platforms. #1017
- #1026 Typing in MUC shows "Typing from another device" - #1026 Typing in MUC shows "Typing from another device"
- #1039 Multi-option data form elements not shown and saved correctly
### API changes ### API changes
- `_converse.api.vcard.get` now also accepts a `Backbone.Model` instance and - `_converse.api.vcard.get` now also accepts a `Backbone.Model` instance and
......
...@@ -617,7 +617,7 @@ ...@@ -617,7 +617,7 @@
* (String) selector - the selector they should be matched * (String) selector - the selector they should be matched
* against. * against.
*/ */
return _.filter(el.children, _.partial(u.matchesSelector, _, selector)); return _.filter(el.childNodes, _.partial(u.matchesSelector, _, selector));
}; };
u.contains = function (attr, query) { u.contains = function (attr, query) {
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
return tpl_select_option({ return tpl_select_option({
'value': value, 'value': value,
'label': option.getAttribute('label'), 'label': option.getAttribute('label'),
'selected': values.includes(value), 'selected': _.includes(values, value),
'required': !_.isNil(field.querySelector('required')) 'required': !_.isNil(field.querySelector('required'))
}) })
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment