Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayerJava.js |
— | — | @@ -73,10 +73,7 @@ |
74 | 74 | var mediaSrc = this.getSrc(); |
75 | 75 | var appletLoc = false; |
76 | 76 | if ( |
77 | | - !( mw.isLocalDomain( mediaSrc ) |
78 | | - || |
79 | | - mw.isLocalDomain( mw.getMwEmbedPath() ) |
80 | | - ) |
| 77 | + !( mw.isLocalDomain( mediaSrc ) && mw.isLocalDomain( mw.getMwEmbedPath() ) ) |
81 | 78 | ){ |
82 | 79 | if ( window.cortadoDomainLocations[ new mw.Uri( mediaSrc ).host ] ) { |
83 | 80 | appletLoc = window.cortadoDomainLocations[ new mw.Uri( mediaSrc ).host ]; |
— | — | @@ -208,4 +205,4 @@ |
209 | 206 | } |
210 | 207 | }; |
211 | 208 | |
212 | | -} )( window.mediaWiki, window.jQuery ); |
\ No newline at end of file |
| 209 | +} )( window.mediaWiki, window.jQuery ); |