mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-13 22:54:15 +01:00
made variable name more relevant
Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
parent
0460bd2e97
commit
1cd4adfc2a
@ -37,12 +37,12 @@ module.exports.updateFavicon = function(percentageString) {
|
||||
context.stroke();
|
||||
};
|
||||
|
||||
const drawNewGraph = function() {
|
||||
const drawNewFavicon = function() {
|
||||
drawCircle('#efefef', lineWidth, 100 / 100);
|
||||
drawCircle(color, lineWidth, percentage / 100);
|
||||
};
|
||||
|
||||
drawNewGraph(link);
|
||||
drawNewFavicon(link);
|
||||
link.href = canvas.toDataURL();
|
||||
document.getElementsByTagName('head')[0].appendChild(link);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user