Fossil SCM

Fix a javascript error in toggleEllipsis() in the /timeline.

drh 2017-11-26 01:29 UTC declutter-via-js
Commit 4d6fda6de4205c2448f3052201077a437812593b8ff892f0579871a9cab10aa1
1 file changed +2 -2
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -1163,16 +1163,16 @@
11631163
@ function toggleEllipsis(id){
11641164
@ var x = gebi("ellipsis-"+id);
11651165
@ if( x.style.display=='none' ){
11661166
@ x.style.display='inline';
11671167
@ gebi("detail-"+id).style.display='none';
1168
- @ x = gebi("links-"+id);
1168
+ @ x = document.getElementById("links-"+id);
11691169
@ if(x) x.style.display='none';
11701170
@ }else{
11711171
@ x.style.display='none';
11721172
@ gebi("detail-"+id).style.display='inline';
1173
- @ x = gebi("links-"+id);
1173
+ @ x = document.getElementById("links-"+id);
11741174
@ if(x) x.style.display='inline';
11751175
@ }
11761176
@ checkHeight();
11771177
@ }
11781178
@ var lastRow = gebi("m"+rowinfo[rowinfo.length-1].id);
11791179
--- src/timeline.c
+++ src/timeline.c
@@ -1163,16 +1163,16 @@
1163 @ function toggleEllipsis(id){
1164 @ var x = gebi("ellipsis-"+id);
1165 @ if( x.style.display=='none' ){
1166 @ x.style.display='inline';
1167 @ gebi("detail-"+id).style.display='none';
1168 @ x = gebi("links-"+id);
1169 @ if(x) x.style.display='none';
1170 @ }else{
1171 @ x.style.display='none';
1172 @ gebi("detail-"+id).style.display='inline';
1173 @ x = gebi("links-"+id);
1174 @ if(x) x.style.display='inline';
1175 @ }
1176 @ checkHeight();
1177 @ }
1178 @ var lastRow = gebi("m"+rowinfo[rowinfo.length-1].id);
1179
--- src/timeline.c
+++ src/timeline.c
@@ -1163,16 +1163,16 @@
1163 @ function toggleEllipsis(id){
1164 @ var x = gebi("ellipsis-"+id);
1165 @ if( x.style.display=='none' ){
1166 @ x.style.display='inline';
1167 @ gebi("detail-"+id).style.display='none';
1168 @ x = document.getElementById("links-"+id);
1169 @ if(x) x.style.display='none';
1170 @ }else{
1171 @ x.style.display='none';
1172 @ gebi("detail-"+id).style.display='inline';
1173 @ x = document.getElementById("links-"+id);
1174 @ if(x) x.style.display='inline';
1175 @ }
1176 @ checkHeight();
1177 @ }
1178 @ var lastRow = gebi("m"+rowinfo[rowinfo.length-1].id);
1179

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button