mirror of
https://github.com/PaddiM8/kalker.git
synced 2025-03-03 07:41:14 +01:00
web: Don't replace / in results
This commit is contained in:
parent
5f29224059
commit
47e3e5f18f
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@paddim8/kalk-component",
|
"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.",
|
"description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.",
|
||||||
"svelte": "src/main.ts",
|
"svelte": "src/main.ts",
|
||||||
"main": "public/build/bundle.js",
|
"main": "public/build/bundle.js",
|
||||||
|
@ -317,7 +317,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (op) {
|
if (op && !isOutput) {
|
||||||
if (substring == "*") return "×";
|
if (substring == "*") return "×";
|
||||||
if (substring == "/") return "÷";
|
if (substring == "/") return "÷";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user