mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 18:31:24 +01:00
replace leftover RYDTools call with function call
This commit is contained in:
1 parent
d20483737a
commit
b599f889cd
1 file changed
+3
-3
@@ -130,12 +130,12 @@ import {
|
|||||||
: NEUTRAL_STATE;
|
: NEUTRAL_STATE;
|
||||||
let statsSet = false;
|
let statsSet = false;
|
||||||
|
|
||||||
RYDTools.getBrowser().runtime.sendMessage(
|
getBrowser().runtime.sendMessage(
|
||||||
{
|
{
|
||||||
message: "set_state",
|
message: "set_state",
|
||||||
videoId: getVideoId(window.location.href),
|
videoId: getVideoId(window.location.href),
|
||||||
state: getState().current,
|
state: getState(storedData).current,
|
||||||
likeCount: getLikeCountFromButton() || null
|
likeCount: getLikeCountFromButton() || null,
|
||||||
},
|
},
|
||||||
function (response) {
|
function (response) {
|
||||||
cLog("response from api:");
|
cLog("response from api:");
|
||||||
|
|||||||
Reference in new issue
Block a user