mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-06-27 16:10:28 +08:00
Submit form shell complete.
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
button.setBadgeDefaults();
|
||||
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
|
||||
background.watchMail();
|
||||
reddit.apiTransmit('GET', 'http://' + reddit.domain + '/reddits/mine.json', null, function (response) {
|
||||
cache.set('reddits', response.data.children);
|
||||
console.log(cache.get('reddits'));
|
||||
});
|
||||
}
|
||||
|
||||
window.onload = initBackground;
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
document.getElementById('body').innerHTML = popup.createListHTML(currTab.url);
|
||||
document.getElementById('body').style.width = settings.get('popupWidth') + 'px';
|
||||
} else {
|
||||
document.getElementById('body').innerHTML = popup.createSubmitForm(currTab.url);
|
||||
document.getElementById('body').innerHTML = popup.createSubmitForm(currTab);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user