diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-01-25 20:31:37 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-01-25 20:31:37 +0100 |
| commit | 9d3c9cb918d03a8a30eb325e1f7e4d55f1765dcc (patch) | |
| tree | 076e036338d086ca8b6da9c89c488ef0695fa284 /public/assets/javascripts/rectangles/engine/rooms/_walls.js | |
| parent | 98b641551cf1af355ed7816fb7e861625ffa8f1e (diff) | |
remove quotes from css url
Diffstat (limited to 'public/assets/javascripts/rectangles/engine/rooms/_walls.js')
| -rw-r--r-- | public/assets/javascripts/rectangles/engine/rooms/_walls.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/javascripts/rectangles/engine/rooms/_walls.js b/public/assets/javascripts/rectangles/engine/rooms/_walls.js index 04d0594..38dac84 100644 --- a/public/assets/javascripts/rectangles/engine/rooms/_walls.js +++ b/public/assets/javascripts/rectangles/engine/rooms/_walls.js @@ -162,7 +162,7 @@ wall.wallpaper(background, img) }) }.bind(this) - img.src = background.src.replace("url(","").replace(")","") + img.src = background.src.replace(/url\(\"?\'?/,"").replace(/\"?\'?\)/,"") img.complete && img.onload() }, floor: function(background){ |
