diff --git a/src/js/selection/SelectionManager.js b/src/js/selection/SelectionManager.js index 2202c8ce..d04d3046 100644 --- a/src/js/selection/SelectionManager.js +++ b/src/js/selection/SelectionManager.js @@ -95,7 +95,7 @@ if (!this.currentSelection || !this.currentSelection.hasPastedContent) { if (window.localStorage.getItem('piskel.clipboard')) { this.currentSelection = JSON.parse(window.localStorage.getItem('piskel.clipboard')); - }else{ + } else { return; } }