mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-24 17:52:53 +00:00
Avoid an IE8 JS error when removing a MediaElement player.
Props afercia. Fixes #31058. git-svn-id: https://develop.svn.wordpress.org/trunk@31386 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a3210a100d
commit
7ea1eb7e94
@ -53,7 +53,7 @@
|
||||
}
|
||||
|
||||
if ( 'native' !== t.media.pluginType ) {
|
||||
t.media.remove();
|
||||
t.$media.remove();
|
||||
}
|
||||
|
||||
delete window.mejs.players[t.id];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user