youtube.js: prevent default action of opening new window

This commit is contained in:
czaks authored and Michael Foster committed 2013-07-22 19:01:10 -04:00
1 parent 163df14b50
commit 51bd267764
1 file changed
+2
+2
View File
@@ -29,6 +29,8 @@ onready(function(){
var videoID = $(this).data('video');
$(this).html('<iframe style="float:left;margin: 10px 20px" type="text/html" width="360" height="270" src="http://www.youtube.com/embed/' + videoID + '?autoplay=1" frameborder="0"/>');
return false;
});
});