Also correctly strip maxAge from initial link
This commit is contained in:
parent
9ba76602c1
commit
64c01c3c1f
2
try.html
2
try.html
|
@ -1292,7 +1292,7 @@ function markupDialog(tr) {
|
|||
var th = tr.firstElementChild;
|
||||
var link = th.dataset.link? th.dataset.link: '';
|
||||
// Remove the ?maxAge parameter from the query string.
|
||||
trimg.replace(/[\?&]maxAge=\d+$|maxAge=\d+&/, '');
|
||||
trimg = trimg.replace(/[\?&]maxAge=\d+$|maxAge=\d+&/, '');
|
||||
copyForm.img.value = trimg;
|
||||
copyForm.url.value = link;
|
||||
// Insert documentation.
|
||||
|
|
Loading…
Reference in New Issue
Block a user