Skip to content
Snippets Groups Projects
Unverified Commit 4fffae16 authored by Thomas Marstrander's avatar Thomas Marstrander
Browse files

JI-1280 Fix supporting IE11

parent d06277fb
Branches
Tags
No related merge requests found
......@@ -201,10 +201,10 @@ ns.Group.prototype.expand = function () {
// re-creates the accessible element..
// @see https://github.com/nvaccess/nvda/issues/8341
// Should be fixeed by Firefox 70 (https://bugzilla.mozilla.org/show_bug.cgi?id=686400)
setTimeout(() => {
setTimeout(function () {
this.trigger('expanded');
this.$group.addClass('expanded');
}, 100);
}.bind(this), 100);
};
/**
......@@ -225,10 +225,10 @@ ns.Group.prototype.collapse = function () {
// re-creates the accessible element..
// @see https://github.com/nvaccess/nvda/issues/8341
// Should be fixeed by Firefox 70 (https://bugzilla.mozilla.org/show_bug.cgi?id=686400)
setTimeout(() => {
setTimeout(function () {
this.trigger('collapsed');
this.$group.removeClass('expanded');
}, 100);
}.bind(this), 100);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment