summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authortimb <opuscule@gmail.com>2015-10-17 20:33:03 -0700
committertimb <opuscule@gmail.com>2015-10-17 20:33:03 -0700
commit878710dd3fd6f1c4d16b92f5b6fd6fab14af6abd (patch)
tree33262ab48e28e15fa9701017967412200d7acee0 /js
parent383756dee9c71ef4d87ea427c4988d33d851b4d1 (diff)
oops, fix jollo sally regex
Diffstat (limited to 'js')
-rw-r--r--js/clipboard.js2
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'