Commit afc26178 authored by Ahoy's avatar Ahoy

New condition

parent cf6484cc
Pipeline #12221076 passed with stages
in 1 minute 7 seconds
......@@ -121,7 +121,9 @@ function yo() {
var key = keys[i].toLowerCase().trim();
if (players.hasOwnProperty(key) && players[key]) {
players[key] = (key === 'moonwalk' && options.start_time)
? players[key] + '?start_time=' + options.start_time
? (players[key].indexOf('?')+1)
? players[key] + '&start_time=' + options.start_time
: players[key] + '?start_time=' + options.start_time
: players[key];
var option = document.createElement('div');
option.setAttribute('onclick', 'showPlayer("' + players[key] + '", this)');
......
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