web: Don't replace / in results

This commit is contained in:
PaddiM8 2022-01-01 18:56:29 +01:00
parent 59419582ae
commit 83f20e035c
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@paddim8/kalk-component",
"version": "1.4.0",
"version": "1.4.1",
"description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.",
"svelte": "src/main.ts",
"main": "public/build/bundle.js",

View File

@ -317,7 +317,7 @@
}
}
if (op) {
if (op && !isOutput) {
if (substring == "*") return "×";
if (substring == "/") return "÷";
}