Fix thumbnail paths with parenthesis in them
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
0cf98b69d0
commit
7a9e05975f
@ -84,7 +84,9 @@
|
||||
|
||||
thumbChanged: function(thumbpath, visible) {
|
||||
if (visible) {
|
||||
this.style.backgroundImage = "url(" + encodeURI(thumbpath).replace(/'/g, "\\'") + ")";
|
||||
this.style.backgroundImage = "url(" +
|
||||
encodeURI(thumbpath).replace(/'/g, "\\'").replace(/([\(\)])/g, "\\$1") +
|
||||
")";
|
||||
} else {
|
||||
this.style.backgroundImage = "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user