mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 02:10:39 +01:00
Feature: Use page title as default description
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
image.onclick = function() {
|
||||
var popUrl = getFormUrl() + encodeURIComponent(imageUrl);
|
||||
popUrl = popUrl + '&referer=' + encodeURIComponent(window.location);
|
||||
popUrl = popUrl + '&description=' + encodeURIComponent(document.title);
|
||||
window.open(popUrl);
|
||||
closePinry();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user