Added button to set edit to the current time.

This commit is contained in:
Ajay Ramachandran
2019-08-12 15:27:35 -04:00
parent ac118173a5
commit 6b3eb09198
3 changed files with 47 additions and 1 deletions

View File

@@ -123,6 +123,12 @@ function messageListener(request, sender, sendResponse) {
v.currentTime = request.time;
}
if (request.message == "getCurrentTime") {
sendResponse({
currentTime: v.currentTime
});
}
if (request.message == "getChannelURL") {
sendResponse({
channelURL: channelURL