comparison src/thread.html.luan @ 51:78b2d6995244

add preview
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 22 Nov 2022 22:57:43 -0700
parents f225e82b2bf8
children 9f8ebc757814
comparison
equal deleted inserted replaced
50:0d99cec5142c 51:78b2d6995244
71 } 71 }
72 body[thread_size="1"] div[post]:first-of-type [delete_opton] { 72 body[thread_size="1"] div[post]:first-of-type [delete_opton] {
73 display: initial; 73 display: initial;
74 } 74 }
75 </style> 75 </style>
76 <script src="/bbcode/bbcode.js"></script>
77 <script> 76 <script>
78 function getPostDiv(node) { 77 function getPostDiv(node) {
79 do { 78 do {
80 if( node.getAttribute('post') ) 79 if( node.getAttribute('post') )
81 return node; 80 return node;