Thread viewer for Bluesky

trailing whitespace

+2 -2
like_stats_page.js
··· 27 27 e.preventDefault(); 28 28 29 29 if (!this.scanStartTime) { 30 - this.findLikes(); 30 + this.findLikes(); 31 31 } else { 32 32 this.stopScan(); 33 33 } ··· 228 228 tr.append( 229 229 $tag('td.no', { text: i + 1 }), 230 230 $tag('td.handle', { 231 - html: `<img class="avatar" src="${user.avatar}"> ` + 231 + html: `<img class="avatar" src="${user.avatar}"> ` + 232 232 `<a href="https://bsky.app/profile/${user.handle}" target="_blank">${user.handle}</a>` 233 233 }), 234 234 $tag('td.count', { text: user.count })
+1 -1
menu.js
··· 124 124 async loadCurrentUserAvatar() { 125 125 try { 126 126 let url = await api.loadCurrentUserAvatar(); 127 - this.showLoggedInStatus(true, url); 127 + this.showLoggedInStatus(true, url); 128 128 } catch (error) { 129 129 console.log(error); 130 130 this.showLoggedInStatus(true, null);
+5 -5
posting_stats_page.js
··· 57 57 e.preventDefault(); 58 58 59 59 if (!this.scanStartTime) { 60 - this.scanPostingStats(); 60 + this.scanPostingStats(); 61 61 } else { 62 62 this.stopScan(); 63 63 } ··· 320 320 keepLastPage: true 321 321 }); 322 322 323 - this.updateResultsTable(posts, startTime, requestedDays, { showReposts: false }); 323 + this.updateResultsTable(posts, startTime, requestedDays, { showReposts: false }); 324 324 } else if (scanType == 'users') { 325 325 let dids = Object.keys(this.selectedUsers); 326 326 ··· 375 375 let lastDate = feedPostTime(last); 376 376 let daysBack = (startTime - lastDate) / 86400 / 1000; 377 377 378 - this.progressBar.value = daysBack; 378 + this.progressBar.value = daysBack; 379 379 } 380 380 381 381 /** @param {string[]} dids */ ··· 548 548 tr.append($tag('td.percent', { text: '' })); 549 549 } 550 550 551 - this.tableBody.append(tr); 551 + this.tableBody.append(tr); 552 552 } 553 553 554 554 let sorted = Object.values(users).sort(this.sortUserRows); ··· 560 560 tr.append( 561 561 $tag('td.no', { text: i + 1 }), 562 562 $tag('td.handle', { 563 - html: `<img class="avatar" src="${user.avatar}"> ` + 563 + html: `<img class="avatar" src="${user.avatar}"> ` + 564 564 `<a href="https://bsky.app/profile/${user.handle}" target="_blank">${user.handle}</a>` 565 565 }), 566 566
+2 -2
private_search_page.js
··· 25 25 e.preventDefault(); 26 26 27 27 if (!this.fetchStartTime) { 28 - this.fetchTimeline(); 28 + this.fetchTimeline(); 29 29 } else { 30 30 this.stopFetch(); 31 31 } ··· 133 133 let lastDate = feedPostTime(last); 134 134 let daysBack = (startTime - lastDate) / 86400 / 1000; 135 135 136 - this.progressBar.value = daysBack; 136 + this.progressBar.value = daysBack; 137 137 } 138 138 139 139 stopFetch() {
+2 -2
style.css
··· 923 923 border-radius: 14px; 924 924 vertical-align: middle; 925 925 margin-right: 2px; 926 - padding: 2px; 926 + padding: 2px; 927 927 } 928 928 929 929 #posting_stats_page .scan-result td.no { ··· 999 999 border-radius: 14px; 1000 1000 vertical-align: middle; 1001 1001 margin-right: 2px; 1002 - padding: 2px; 1002 + padding: 2px; 1003 1003 } 1004 1004 1005 1005 #private_search_page {
+1 -1
test/ts_test.js
··· 19 19 /** @type {never} */ let x3 = html; 20 20 21 21 document.addEventListener('click', (e) => { 22 - let target = $(e.target); 22 + let target = $(e.target); 23 23 /** @type {never} */ let x4 = target; 24 24 }); 25 25
+1 -1
thread_page.js
··· 23 23 } 24 24 25 25 return p; 26 - } 26 + } 27 27 28 28 /** @param {string} url, @returns {Promise<void>} */ 29 29