Remove maxAge on front page links

This commit is contained in:
Thaddee Tyl 2016-08-08 21:45:49 +02:00
parent cf8fdd91fb
commit 618246f1f1

View File

@ -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.