diff --git a/appinfo/info.xml b/appinfo/info.xml
index 72004d86d..2be03a6f4 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -14,7 +14,7 @@
- 🚀 Get your project organized
- 0.4.0-alpha1
+ 0.4.0-alpha3
agpl
Julius Härtl
Deck
diff --git a/js/controller/CardController.js b/js/controller/CardController.js
index 3f7bf5f47..f35a38817 100644
--- a/js/controller/CardController.js
+++ b/js/controller/CardController.js
@@ -70,10 +70,12 @@ app.controller('CardController', function ($scope, $rootScope, $sce, $location,
$scope.status.edit.description = $scope.status.edit.description.replace(reg, function (match, i, original) {
if (nth++ === id) {
var result;
- if (match.match(/^\[\s\]/i))
+ if (match.match(/^\[\s\]/i)) {
result = match.replace(/\[\s\]/i, '[x]');
- if (match.match(/^\[x\]/i))
+ }
+ if (match.match(/^\[x\]/i)) {
result = match.replace(/\[x\]/i, '[ ]');
+ }
return result;
}
return match;