Avoid an IE8 JS error when removing a MediaElement player.

Props afercia.
Merges [31386] to the 4.1 branch.
Fixes #31058.

Built from https://develop.svn.wordpress.org/branches/4.1@31395


git-svn-id: http://core.svn.wordpress.org/branches/4.1@31376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2015-02-10 01:01:22 +00:00
parent 89150885b0
commit a496c6b42f
2 changed files with 2 additions and 2 deletions

View File

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

File diff suppressed because one or more lines are too long