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 96c72a9 commit 69451d2Copy full SHA for 69451d2
site/static/compare.html
@@ -819,9 +819,13 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
819
let values = Object.assign({}, {
820
start: "",
821
end: "",
822
+ calcNewSig: true,
823
stat: "instructions:u",
824
}, state);
- values["calcNewSig"] = values.calcNewSig === 'true';
825
+ // Make sure we pass a boolean.
826
+ if (typeof values.calcNewSig === "string") {
827
+ values.calcNewSig = values.calcNewSig === "true";
828
+ }
829
makeRequest("/get", values).then(function (data) {
830
app.data = data;
831
});
@@ -843,4 +847,4 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
843
847
</script>
844
848
</body>
845
849
846
-</html>
850
+</html>
0 commit comments