From 83e3271f434b286ea090f303addc3ce3a2413115 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 31 Jan 2016 17:51:17 +0100 Subject: [PATCH] Code style adjustment --- src/scripts/photo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/photo.js b/src/scripts/photo.js index 5ca7bac..a636938 100644 --- a/src/scripts/photo.js +++ b/src/scripts/photo.js @@ -553,7 +553,7 @@ photo.editTags = function(photoIDs) { photo.setTags = function(photoIDs, tags) { if (!photoIDs) return false - if (photoIDs instanceof Array===false) photoIDs = [photoIDs] + if (photoIDs instanceof Array===false) photoIDs = [ photoIDs ] // Parse tags tags = tags.replace(/(\ ,\ )|(\ ,)|(,\ )|(,{1,}\ {0,})|(,$|^,)/g, ',')