parsav  Diff

Differences From Artifact [76c21b64a1]:

To Artifact [c1f304b23e]:


59
60
61
62
63
64
65


66
67
68
69
70
71
72
73
74
75
76
				if (event.key == 'f') { // fave
					postReq(root, 'like', post.querySelector('.stats>.like'))
				} else if (event.key == 'r') { // rt
					postReq(root, 'rt', post.querySelector('.stats>.rt'))
				} else if (event.key == 'Enter') { // nav
					window.location = root;
					return;


				} else if (post.attributes.getNamedItem('data-own')) {
					if      (event.key == 'd') { window.location = root + '/del';  }
					else if (event.key == 'e') { window.location = root + '/edit'; }
					else if (event.key == 'u' && root != cururl) { window.location = cururl; } // detweet
				}
			}
			if (nexturl != null) {
				if (cururl != null) {
					let cur = window._liveTweetMap.map.get(cururl);
					cur.me.classList.remove('live-selected')
				}







>
>



<







59
60
61
62
63
64
65
66
67
68
69
70

71
72
73
74
75
76
77
				if (event.key == 'f') { // fave
					postReq(root, 'like', post.querySelector('.stats>.like'))
				} else if (event.key == 'r') { // rt
					postReq(root, 'rt', post.querySelector('.stats>.rt'))
				} else if (event.key == 'Enter') { // nav
					window.location = root;
					return;
				} else if (event.key == 'u' && root != cururl) {
					window.location = cururl; // detweet TODO don't try to delete other's retweets
				} else if (post.attributes.getNamedItem('data-own')) {
					if      (event.key == 'd') { window.location = root + '/del';  }
					else if (event.key == 'e') { window.location = root + '/edit'; }

				}
			}
			if (nexturl != null) {
				if (cururl != null) {
					let cur = window._liveTweetMap.map.get(cururl);
					cur.me.classList.remove('live-selected')
				}