diff options
Diffstat (limited to 'js/clipboard.js')
| -rw-r--r-- | js/clipboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/clipboard.js b/js/clipboard.js index 63225d7..9c3b1b2 100644 --- a/js/clipboard.js +++ b/js/clipboard.js @@ -297,7 +297,7 @@ var clipboard = (function () { } function sally_url_convert(url){ - var png_regex = /$https?:\/\/jollo\.org\/den\/sallies\/([0-9]+)\/([^.]+)\.png^/ + var png_regex = /^https?:\/\/jollo\.org\/den\/sallies\/([0-9]+)\/([^.]+)\.png$/ var matches = url.match(png_regex) if (!matches) return url return 'http://jollo.org/den/sallies/' + matches[1] + '/raw-' + matches[2] + '?.txt' |
