From 56412498f174c9dbe00025ab4fd00cbbbc2e5448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 19 Jun 2018 19:03:28 +0200 Subject: [PATCH] Fix missing index and double quotes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- js/controller/CardController.js | 2 +- templates/part.boardlist.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/controller/CardController.js b/js/controller/CardController.js index 59a871e89..0754c80c5 100644 --- a/js/controller/CardController.js +++ b/js/controller/CardController.js @@ -53,7 +53,7 @@ app.controller('CardController', function ($scope, $rootScope, $sce, $location, let text = $scope.status.edit.description || ''; let before = text.substring(0, start); let after = text.substring(end, text.length); - let newText = before + "\n" + insertText + "\n" + after; + let newText = before + '\n' + insertText + '\n' + after; $scope.status.edit.description = newText; el.selectionStart = el.selectionEnd = start + newText.length; el.focus(); diff --git a/templates/part.boardlist.php b/templates/part.boardlist.php index 1fb80c96e..5025fd80b 100644 --- a/templates/part.boardlist.php +++ b/templates/part.boardlist.php @@ -45,7 +45,7 @@
- +