mirror of
https://github.com/pinry/pinry.git
synced 2025-11-18 02:40:40 +01:00
Feature: Add referer field for Pin
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user