Code style adjustment

pull/462/head
Tobias Reich 8 years ago
parent f650de8967
commit 83e3271f43

@ -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, ',')

Loading…
Cancel
Save