nicyties
This commit is contained in:
@@ -5,8 +5,7 @@ var changeIcon = function(color) {
|
||||
var getFavicon = function() {
|
||||
var favicon = undefined;
|
||||
var nodeList = document.getElementsByTagName("link");
|
||||
for (var i = 0; i < nodeList.length; i++)
|
||||
{
|
||||
for (var i = 0; i < nodeList.length; i++) {
|
||||
if ((nodeList[i].getAttribute("rel") == "icon") || (nodeList[i].getAttribute("rel") == "shortcut icon")) {
|
||||
favicon = nodeList[i].getAttribute("href");
|
||||
}
|
||||
|
Reference in New Issue
Block a user