X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/4da66439c7e1cd073b2f97466208730cf5db9dff..d51fb54019701a24740c85e85024de1fce7b0689:/forum/skins/default/media/js/youtube.js diff --git a/forum/skins/default/media/js/youtube.js b/forum/skins/default/media/js/youtube.js index 989b553..07c1fbe 100644 --- a/forum/skins/default/media/js/youtube.js +++ b/forum/skins/default/media/js/youtube.js @@ -1,6 +1,6 @@ -$().ready(function(){ +$(document).ready(function(){ // Embed YouTube videos - $('a[href*="youtube.com"]').viewbox({ + $('a[href*=".youtube.com"]').viewbox({ widthWindow: 900 }); }); \ No newline at end of file