mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 10:52:20 +01:00
Update variable declaration
Preferable to use 'let' instead of 'var' for variable declaration
This commit is contained in:
1 parent
ca7141b582
commit
633e918aba
1 file changed
+2
-2
@@ -217,7 +217,7 @@ const NEUTRAL_STATE = "NEUTRAL_STATE";
|
|||||||
return formatter.format(roundDown(numberState));
|
return formatter.format(roundDown(numberState));
|
||||||
}
|
}
|
||||||
|
|
||||||
var jsInitChecktimer = null;
|
let jsInitChecktimer = null;
|
||||||
|
|
||||||
function setEventListeners(evt) {
|
function setEventListeners(evt) {
|
||||||
function checkForJS_Finish() {
|
function checkForJS_Finish() {
|
||||||
@@ -240,7 +240,7 @@ const NEUTRAL_STATE = "NEUTRAL_STATE";
|
|||||||
}
|
}
|
||||||
|
|
||||||
function createRateBar(likes, dislikes) {
|
function createRateBar(likes, dislikes) {
|
||||||
var rateBar = document.getElementById(
|
let rateBar = document.getElementById(
|
||||||
"return-youtube-dislike-bar-container"
|
"return-youtube-dislike-bar-container"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user