Irregular whitespace

This commit is contained in:
Guillaume Martigny
2017-02-01 16:12:32 +01:00
parent 9ce3d44cc6
commit f5491dc557
2 changed files with 2 additions and 2 deletions

View File

@ -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;