Hi
Can someone tell me what the last line means:
var s = document.createElement("span");
s.className = "ytb-text";
s.innerHTML = t.text ? t.text : t;
Thanks in advance
Hi
Can someone tell me what the last line means:
var s = document.createElement("span");
s.className = "ytb-text";
s.innerHTML = t.text ? t.text : t;
Thanks in advance
If t.text is declared use t.text else use t and assing it to the innerHTML