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:
Scott Taylor 2015-02-09 18:42:33 +00:00
parent a3210a100d
commit 7ea1eb7e94

View File

@ -53,7 +53,7 @@
}
if ( 'native' !== t.media.pluginType ) {
t.media.remove();
t.$media.remove();
}
delete window.mejs.players[t.id];