Permalink
Browse files

Merge pull request #3280 from jwplayer/bugfix/jw8-2595_ie11-outstream

[JW8-2595] Return in getElementWindow() if element is null
  • Loading branch information...
robwalch committed Feb 8, 2019
2 parents 7399fcc + 50d0a92 commit eafe0c36c5ca1c6f067f379b04719f5f2388a46b
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/js/utils/ui.js
@@ -159,6 +159,9 @@ function initInteractionListeners(ui) {

const interactEndHandler = (e) => {
clearTimeout(longPressTimeout);
if (!ui.el) {
return;
}
releasePointerCapture(ui);
removeHandlers(ui, WINDOW_GROUP);
if (ui.dragged) {

0 comments on commit eafe0c3

Please sign in to comment.