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:
parent
89150885b0
commit
a496c6b42f
|
@ -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
Loading…
Reference in New Issue