v1.6.0/scroll fix, thread styling, interactive system link message

This commit is contained in:
2020-08-04 23:50:03 -04:00
parent 1873f7606a
commit 55840f7c00
5 changed files with 49 additions and 12 deletions
+5
View File
@@ -75,6 +75,11 @@ export const emptyLocalData = () => {
window.localStorage.removeItem('WatchParty');
};
export const scrollThread = () => {
const pcc = document.querySelector('.thread-wrapper');
if (pcc) pcc.scrollTop = pcc.scrollHeight;
}
export const getUserUid = async () =>
new Promise((resolve, reject) => {
chrome.runtime.sendMessage(