Commit ad69006b authored by Ahoy's avatar Ahoy

data-ahoy log

parent 6d45c0b4
Pipeline #12909515 passed with stages
in 1 minute and 11 seconds
......@@ -326,7 +326,7 @@
<div id="yohoho" data-title="Дэдпул / Deadpool (2016)"></div>
<div id="yohoho-kinopoisk" data-kinopoisk="401522"></div>
<div id="yohoho-trailer" data-player="trailer" data-title="Моана"></div>
<div id="yohoho-torrent" data-player="torrent" data-title="Инферно"></div>
<div id="yohoho-torrent" data-player="torrent" data-title="Инферно"></div>
</div>
<script src="yo.js"></script>
......
......@@ -19,8 +19,9 @@ function ahoy_yo() {
function yo(sel) {
var h, w, i, l, s, t = false, p = '';
console.log('#' + (sel) ? sel : 'yohoho');
var yohoho = document.querySelector('#' + (sel) ? sel : 'yohoho');
console.log((sel) ? sel : 'yohoho', yohoho);
console.log(yohoho);
if (!yohoho) {
yohoho = document.querySelector('#yohoho-online');
if (!yohoho) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment