mirror of
https://github.com/pi-hole/web.git
synced 2026-04-26 11:50:09 +01:00
Cleaned code
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
};
|
||||
|
||||
return o.normalize();
|
||||
}
|
||||
};
|
||||
|
||||
// extract CSS color property from element, going up in the DOM
|
||||
// if it's "transparent"
|
||||
@@ -89,7 +89,7 @@
|
||||
c = "transparent";
|
||||
|
||||
return $.color.parse(c);
|
||||
}
|
||||
};
|
||||
|
||||
// parse CSS color string (like "rgb(10, 32, 43)" or "#fff"),
|
||||
// returns color object, if parsing failed, you get black (0, 0,
|
||||
@@ -130,7 +130,7 @@
|
||||
res = lookupColors[name] || [0, 0, 0];
|
||||
return m(res[0], res[1], res[2]);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var lookupColors = {
|
||||
aqua:[0,255,255],
|
||||
|
||||
Reference in New Issue
Block a user