mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
refactor: Remove unnecessary call to .bind()
The bind() method is used to create functions with specific `this` values and, optionally, binds arguments to specific values. When used to specify the value of `this`, it's important that the function actually uses `this` in its function body.
This commit is contained in:
parent
6099f25cdf
commit
1a541bc288
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
|
||||
setTimeout(function() {
|
||||
label.style.opacity = 1;
|
||||
}.bind(this), 250);
|
||||
}, 250);
|
||||
});
|
||||
|
||||
labels[i].addEventListener('mouseout', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue