mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-18 01:08:51 +00:00
updates
This commit is contained in:
@ -19,7 +19,6 @@
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
a:link, a:visited {
|
||||
@ -331,6 +330,8 @@ table.vert {
|
||||
|
||||
|
||||
.info-page {
|
||||
line-height: 1.2;
|
||||
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
|
||||
|
@ -67,7 +67,7 @@ document.addEventListener('alpine:init', () => {
|
||||
let ev = {
|
||||
created_at: Math.floor(((new Date()) - 0) / 1000),
|
||||
kind: 1,
|
||||
tags: [['t', 'oddbean']],
|
||||
tags: [['t', 'oddbean'],['client', 'oddbean']],
|
||||
content: this.$refs.post.value,
|
||||
};
|
||||
|
||||
@ -105,7 +105,7 @@ document.addEventListener('alpine:init', () => {
|
||||
let ev = {
|
||||
created_at: Math.floor(((new Date()) - 0) / 1000),
|
||||
kind: 1,
|
||||
tags: [],
|
||||
tags: [['client', 'oddbean']],
|
||||
content: this.$refs.post.value,
|
||||
};
|
||||
|
||||
@ -195,7 +195,7 @@ document.addEventListener("click", async (e) => {
|
||||
let ev = {
|
||||
created_at: Math.floor(((new Date()) - 0) / 1000),
|
||||
kind: 7,
|
||||
tags: [],
|
||||
tags: [['client', 'oddbean']],
|
||||
content: which === 'u' ? '+' : '-',
|
||||
};
|
||||
|
||||
@ -203,10 +203,6 @@ document.addEventListener("click", async (e) => {
|
||||
let response = await fetch(`/e/${note}/raw.json`);
|
||||
let liked = await response.json();
|
||||
|
||||
//for (let tag of liked.tags) {
|
||||
// if (tag.length >= 2 && (tag[0] === 'e' || tag[0] === 'p')) ev.tags.push(tag);
|
||||
//}
|
||||
|
||||
ev.tags.push(['e', liked.id]);
|
||||
ev.tags.push(['p', liked.pubkey]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user