Merge pull request #427 from amowu/patch-2
Fix cannot scroll after destroyed
This commit is contained in:
commit
663c1fb627
@ -3664,6 +3664,9 @@
|
||||
// Replace the container with the original element provided
|
||||
plyr.container.parentNode.replaceChild(original, plyr.container);
|
||||
|
||||
// unbind escape key
|
||||
document.body.style.overflow = '';
|
||||
|
||||
// Event
|
||||
_triggerEvent(original, 'destroyed', true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user