From f5491dc55791bf426ff0cff6f4c06e2f8453a657 Mon Sep 17 00:00:00 2001 From: Guillaume Martigny Date: Wed, 1 Feb 2017 16:12:32 +0100 Subject: [PATCH] Irregular whitespace --- src/js/controller/PalettesListController.js | 2 +- src/js/controller/settings/ApplicationSettingsController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/controller/PalettesListController.js b/src/js/controller/PalettesListController.js index 04abdd3..d3c722e 100644 --- a/src/js/controller/PalettesListController.js +++ b/src/js/controller/PalettesListController.js @@ -100,7 +100,7 @@ ns.PalettesListController.prototype.getCurrentColorIndex_ = function () { var currentIndex = 0; var selectedColor = document.querySelector('.' + PRIMARY_COLOR_CLASSNAME); - if (selectedColor) { + if (selectedColor) { currentIndex = parseInt(selectedColor.dataset.colorIndex, 10); } return currentIndex; diff --git a/src/js/controller/settings/ApplicationSettingsController.js b/src/js/controller/settings/ApplicationSettingsController.js index 9c604a4..93d71ca 100644 --- a/src/js/controller/settings/ApplicationSettingsController.js +++ b/src/js/controller/settings/ApplicationSettingsController.js @@ -87,7 +87,7 @@ if (background) { pskl.UserSettings.set(pskl.UserSettings.CANVAS_BACKGROUND, background); var selected = this.backgroundContainer.querySelector('.selected'); - if (selected) { + if (selected) { selected.classList.remove('selected'); } target.classList.add('selected');