Fossil SCM
Use common HTML entities rather than obscure unicode characters for the arrows on sortable table columns.
Commit
4c803826adde3ddcfb0288a8118f329e7bb2800f
Parent
5e7d3effa3de042…
1 file changed
+3
-3
+3
-3
| --- src/report.c | ||
| +++ src/report.c | ||
| @@ -989,15 +989,15 @@ | ||
| 989 | 989 | @ arrowdiv[0].parentNode.removeChild(arrowdiv[0]); |
| 990 | 990 | @ } |
| 991 | 991 | @ for (var i=0; i<this.hdrRow.cells.length; i++) { |
| 992 | 992 | @ if( this.columnTypes[i]=='x' ) continue; |
| 993 | 993 | @ if( this.prevColumn==i+1 ){ |
| 994 | - @ arrow = "\u2b07"; | |
| 994 | + @ arrow = "↓" | |
| 995 | 995 | @ }else if( this.prevColumn==(-1-i) ){ |
| 996 | - @ arrow = "\u2b06"; | |
| 996 | + @ arrow = "↑" | |
| 997 | 997 | @ }else{ |
| 998 | - @ arrow = "\u21f3"; | |
| 998 | + @ arrow = "♦" | |
| 999 | 999 | @ } |
| 1000 | 1000 | @ this.hdrRow.cells[i].innerHTML += |
| 1001 | 1001 | @ "<span class='sortarrow'>" + arrow + "</div>"; |
| 1002 | 1002 | @ } |
| 1003 | 1003 | @ } |
| 1004 | 1004 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -989,15 +989,15 @@ | |
| 989 | @ arrowdiv[0].parentNode.removeChild(arrowdiv[0]); |
| 990 | @ } |
| 991 | @ for (var i=0; i<this.hdrRow.cells.length; i++) { |
| 992 | @ if( this.columnTypes[i]=='x' ) continue; |
| 993 | @ if( this.prevColumn==i+1 ){ |
| 994 | @ arrow = "\u2b07"; |
| 995 | @ }else if( this.prevColumn==(-1-i) ){ |
| 996 | @ arrow = "\u2b06"; |
| 997 | @ }else{ |
| 998 | @ arrow = "\u21f3"; |
| 999 | @ } |
| 1000 | @ this.hdrRow.cells[i].innerHTML += |
| 1001 | @ "<span class='sortarrow'>" + arrow + "</div>"; |
| 1002 | @ } |
| 1003 | @ } |
| 1004 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -989,15 +989,15 @@ | |
| 989 | @ arrowdiv[0].parentNode.removeChild(arrowdiv[0]); |
| 990 | @ } |
| 991 | @ for (var i=0; i<this.hdrRow.cells.length; i++) { |
| 992 | @ if( this.columnTypes[i]=='x' ) continue; |
| 993 | @ if( this.prevColumn==i+1 ){ |
| 994 | @ arrow = "↓" |
| 995 | @ }else if( this.prevColumn==(-1-i) ){ |
| 996 | @ arrow = "↑" |
| 997 | @ }else{ |
| 998 | @ arrow = "♦" |
| 999 | @ } |
| 1000 | @ this.hdrRow.cells[i].innerHTML += |
| 1001 | @ "<span class='sortarrow'>" + arrow + "</div>"; |
| 1002 | @ } |
| 1003 | @ } |
| 1004 |