diff options
author | albert-github <albert.tests@gmail.com> | 2018-06-04 18:25:30 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-06-04 18:25:30 (GMT) |
commit | 293e5c9ba4b88924e0cc4b513318cf822f5c63eb (patch) | |
tree | 7839968b05e2af27e6aca2f1577c23816607ee3f /templates | |
parent | 9117548f0ce573b586928a740966844776c4c6ba (diff) | |
download | Doxygen-293e5c9ba4b88924e0cc4b513318cf822f5c63eb.zip Doxygen-293e5c9ba4b88924e0cc4b513318cf822f5c63eb.tar.gz Doxygen-293e5c9ba4b88924e0cc4b513318cf822f5c63eb.tar.bz2 |
Bug 796494 - Collapsed treeview arrow displays as emoji in Microsoft Edge
The right arrow (▶) is inn MicrosoftEdge displayed as an Emoji it displays as a white arrow inside a blue square with a black border instead of a monochrome arrow. Unicode contains another right arrow (␪) which displays correctly (also in Chrome, Opera, FireFox, Internet Explorer; in some even better).
The Unicode naming is a bit confusing:
- for the down arrow we only have:
- ▼ 'BLACK DOWN-POINTING TRIANGLE'
- for the right arrow we have:
- ▶ 'BLACK RIGHT-POINTING TRIANGLE'
- ► 'BLACK RIGHT-POINTING POINTER'
so it looks logical to use both Triangles but this is not the case.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/html/dynsections.js | 6 | ||||
-rw-r--r-- | templates/html/htmldirtree.tpl | 2 | ||||
-rw-r--r-- | templates/html/navtree.js | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/html/dynsections.js b/templates/html/dynsections.js index c1ce122..ea0a7b3 100644 --- a/templates/html/dynsections.js +++ b/templates/html/dynsections.js @@ -60,7 +60,7 @@ function toggleLevel(level) $(this).show(); } else if (l==level+1) { i.removeClass('iconfclosed iconfopen').addClass('iconfclosed'); - a.html('▶'); + a.html('►'); $(this).show(); } else { $(this).hide(); @@ -87,7 +87,7 @@ function toggleFolder(id) // replace down arrow by right arrow for current row var currentRowSpans = currentRow.find("span"); currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed"); - currentRowSpans.filter(".arrow").html('▶'); + currentRowSpans.filter(".arrow").html('►'); rows.filter("[id^=row_"+id+"]").hide(); // hide all children } else { // we are SHOWING // replace right arrow by down arrow for current row @@ -97,7 +97,7 @@ function toggleFolder(id) // replace down arrows by right arrows for child rows var childRowsSpans = childRows.find("span"); childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed"); - childRowsSpans.filter(".arrow").html('▶'); + childRowsSpans.filter(".arrow").html('►'); childRows.show(); //show all children } updateStripes(); diff --git a/templates/html/htmldirtree.tpl b/templates/html/htmldirtree.tpl index 6d3ef8c..a6b9b21 100644 --- a/templates/html/htmldirtree.tpl +++ b/templates/html/htmldirtree.tpl @@ -20,7 +20,7 @@ {% else %} <span style="width:{{ (node.level)*16 }}px;display:inline-block;"> </span> <span id="arr_{{ node.id }}" class="arrow" onclick="toggleFolder('{{ node.id}}')"> - {%if node.level+1<tree.preferredDepth %}▼{% else %}▶{% endif %} + {%if node.level+1<tree.preferredDepth %}▼{% else %}►{% endif %} </span> {% endif %} {% if node.namespace %} diff --git a/templates/html/navtree.js b/templates/html/navtree.js index e310bc9..7ce2935 100644 --- a/templates/html/navtree.js +++ b/templates/html/navtree.js @@ -23,7 +23,7 @@ */ var navTreeSubIndices = new Array(); var arrowDown = '▼'; -var arrowRight = '▶'; +var arrowRight = '►'; function getData(varName) { |