summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-20 17:50:52 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-22 19:01:10 -0400
commit51bd267764f7820c239b6c2a5e93be089c3e064d (patch)
tree56d8046db36f7fe4df88010d01b9a9b6d225f577 /js
parent163df14b50eea0fd4b84342055130459c3b8035d (diff)
youtube.js: prevent default action of opening new window
Diffstat (limited to 'js')
-rw-r--r--js/youtube.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/youtube.js b/js/youtube.js
index 482a9bc8..035796d8 100644
--- a/js/youtube.js
+++ b/js/youtube.js
@@ -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;
});
});