From a4d3d441dbf5ee10f6fb0f6f0c31e16054b468d1 Mon Sep 17 00:00:00 2001 From: Joren Dandois Date: Sat, 4 Jul 2020 01:54:34 +0200 Subject: [PATCH] Space between if and bracket --- src/js/controller/LayersListController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controller/LayersListController.js b/src/js/controller/LayersListController.js index 841c0fee..bcdebce1 100644 --- a/src/js/controller/LayersListController.js +++ b/src/js/controller/LayersListController.js @@ -182,7 +182,7 @@ var layer = this.piskelController.getLayerAt(parseInt(index, 10)); var opacity = window.prompt('Set layer opacity (value between 0 and 1)', layer.getOpacity()); this.piskelController.setLayerOpacityAt(index, opacity); - } else if(el.classList.contains('layer-lock')) { + } else if (el.classList.contains('layer-lock')) { index = pskl.utils.Dom.getData(el, 'layerIndex'); var layer = this.piskelController.getLayerAt(parseInt(index, 10)); this.piskelController.setLayerLockedAt(index, layer.getLocked());