r98186 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98185‎ | r98186 | r98187 >
Date:22:38, 26 September 2011
Author:raindrift
Status:ok
Tags:
Comment:
call callback even if no embedplayer tags are being rewritten
Modified paths:
  • /trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/EmbedPlayer.loader.js (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/EmbedPlayer.loader.js
@@ -15,6 +15,8 @@
1616 // Rewrite the embedPlayer EmbedPlayer.RewriteSelector and run callback once ready:
1717 $( mw.getConfig( 'EmbedPlayer.RewriteSelector' ) )
1818 .embedPlayer( callback );
 19+ } else {
 20+ callback();
1921 }
2022 });
2123

Status & tagging log