preparing for v1.4
This commit is contained in:
parent
4a35e0ea81
commit
62fc69aa5a
|
|
@ -11,12 +11,6 @@ chrome.runtime.onInstalled.addListener(function () {
|
||||||
],
|
],
|
||||||
contexts: ['link'],
|
contexts: ['link'],
|
||||||
});
|
});
|
||||||
|
|
||||||
// Set sane defaults for click behaviors at extension install time
|
|
||||||
chrome.storage.sync.set({
|
|
||||||
"clickBehavior": "send-current-url",
|
|
||||||
"contextMenuClickBehavior": "context-menu-send-current-url-and-switch"
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function sendVideoUrlToMetube(videoUrl, metubeUrl, callback) {
|
function sendVideoUrlToMetube(videoUrl, metubeUrl, callback) {
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@ async function restoreOptions() {
|
||||||
document.getElementById("additional").value = data.sites;
|
document.getElementById("additional").value = data.sites;
|
||||||
}
|
}
|
||||||
|
|
||||||
alert(data.clickBehavior);
|
|
||||||
if (data.clickBehavior !== undefined) {
|
if (data.clickBehavior !== undefined) {
|
||||||
document.getElementById(data.clickBehavior).checked = true;
|
document.getElementById(data.clickBehavior).checked = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue