diff --git a/calc.css b/calc.css index 05f4962..13f1b4a 100644 --- a/calc.css +++ b/calc.css @@ -18,6 +18,9 @@ -moz-user-select: none; /* Old versions of Firefox */ -ms-user-select: none; /* Internet Explorer/Edge */ user-select: none; + + padding-right: 20px; + padding-top: 20px; } .numberbutton { width: 100px; diff --git a/calculator.php b/calculator.php index cc2f038..033b5d1 100644 --- a/calculator.php +++ b/calculator.php @@ -108,7 +108,7 @@ function equalsb() { var t1 = document.getElementById("eingabe").value var t2 = t1.replace("𝜋", "Math.PI"); - var t3 = t2.replace("²", "^2"); + var t3 = t2.replace("²", "Math.sqr"); if(t1 != "") { document.getElementById("eingabe").value = eval(t3); } else { diff --git a/horse.mp3 b/horse.mp3 deleted file mode 100644 index 325fabf..0000000 Binary files a/horse.mp3 and /dev/null differ