We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964e1a1 commit f4fc91eCopy full SHA for f4fc91e
site/static/detailed-query.html
@@ -74,7 +74,7 @@ <h3 id="title"></h3>
74
if (from == to) {
75
pct = 0;
76
}
77
- if (pct && pct != Infinity && pct != -Infinity) {
+ if (pct != Infinity && pct != -Infinity) {
78
let classes;
79
if (pct > 1) {
80
classes = "positive";
@@ -90,7 +90,7 @@ <h3 id="title"></h3>
90
91
return `<span class="${classes}" title="${from.toFixed(3)} to ${to.toFixed(3)} ≈ ${delta.toFixed(3)}">${pct.toFixed(1)}%</span>`;
92
} else {
93
- return `<span title="error" style="color: orange;">-</span>`;
+ return `<span title="error pct=${pct}" style="color: orange;">-</span>`;
94
95
96
0 commit comments