Duplicate name section needs to strip chars from filename illegal to use in HTML id

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2018-10-06 16:14:47 -07:00
parent 3b0e12c718
commit f48ef940dd

View File

@ -1097,7 +1097,7 @@
}
if (this.mode == "duplicates") {
var name = photo.filename.replace(/\./g, "_"),
var name = photo.filename.replace(/\. '\"/g, "_"),
nameBlock = this.root.querySelector("#name-" + name), thumbnails;
if (!nameBlock) {
nameBlock = document.createElement("div");