Remove maxAge on front page links
This commit is contained in:
parent
cf8fdd91fb
commit
618246f1f1
2
try.html
2
try.html
|
@ -1285,7 +1285,7 @@ function markupDialog(tr) {
|
|||
var th = tr.firstElementChild;
|
||||
var link = th.dataset.link? th.dataset.link: '';
|
||||
// Remove the ?maxAge parameter from the query string.
|
||||
link.replace(/[\?&]maxAge=\d+$|maxAge=\d+&/, '');
|
||||
trimg.replace(/[\?&]maxAge=\d+$|maxAge=\d+&/, '');
|
||||
copyForm.img.value = trimg;
|
||||
copyForm.url.value = link;
|
||||
// Insert documentation.
|
||||
|
|
Loading…
Reference in New Issue
Block a user