Skip to content

Commit 36cedcc

Browse files
committed
🔁 Refactoring
1 parent 2c7d04b commit 36cedcc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/scripts.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ var rechner = (function (rechner) {
401401
// AC - All Clear
402402

403403
function allClear() {
404-
405404
$operand1Decimal.val('');
406405
$operand1Binary.val('');
407406
$operand1System.val('');
@@ -411,14 +410,13 @@ var rechner = (function (rechner) {
411410
$resultDecimal.val('');
412411
$resultBinary.val('');
413412
$resultSystem.val('');
414-
415413
}
416414

417415
// Bitwise Operators - The Buttons right side from the operand
418416
// Not (~) or (!)
419417

420418
function bitwiseNot(binaryInputID) {
421-
419+
422420
var binary = binaryInputID.val();
423421
var reversedBinary = "";
424422

0 commit comments

Comments
 (0)