remove space before function parentheses and maximum allowed line
This commit is contained in:
parent
03b2a529ef
commit
2a8b1e0ccd
1 changed files with 4 additions and 3 deletions
|
@ -86,7 +86,8 @@ const confetti = {
|
|||
if (canvas === null) {
|
||||
canvas = document.createElement("canvas");
|
||||
canvas.setAttribute("id", "confetti-canvas");
|
||||
canvas.setAttribute("style", "display:block;z-index:999999;pointer-events:none;position:fixed;top:0; right:0");
|
||||
canvas.setAttribute("style",
|
||||
"display:block;z-index:999999;pointer-events:none;position:fixed;top:0; right:0");
|
||||
document.body.prepend(canvas);
|
||||
canvas.width = width;
|
||||
canvas.height = height;
|
||||
|
|
Loading…
Reference in a new issue