Feature: Add referer field for Pin

This commit is contained in:
winkidney
2018-08-21 19:08:35 +08:00
parent 89f088cc05
commit b7135b64aa
7 changed files with 43 additions and 7 deletions

View File

@@ -92,7 +92,8 @@
border: '1px solid #555'
});
image.onclick = function() {
var popUrl = getFormUrl()+encodeURIComponent(imageUrl);
var popUrl = getFormUrl() + encodeURIComponent(imageUrl);
popUrl = popUrl + '&referer=' + encodeURIComponent(window.location);
window.open(popUrl);
closePinry();
};