When you hate Twitter after how awful it's got since it became "X" ... the code will throw a fatal error as twitterIconElement is NULL when unused - so setAttribute() isn't callable.
edit: And I guess it's unlikely given the purpose of this theme, but I've added the same checks for the github icon as well.
When you hate Twitter after how awful it's got since it became "X" ... the code will throw a fatal error as
twitterIconElement
isNULL
when unused - sosetAttribute()
isn't callable.edit: And I guess it's unlikely given the purpose of this theme, but I've added the same checks for the github icon as well.