mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 08:35:41 +01:00
Further improve lightbox by getting rid of all the data tags and use ajax call for pin
This commit is contained in:
@@ -20,3 +20,9 @@ function cleanTags(tags) {
|
||||
}
|
||||
return tags
|
||||
}
|
||||
|
||||
|
||||
function getPinData(pinId) {
|
||||
var apiUrl = '/api/v1/pin/'+pinId+'/?format=json';
|
||||
return $.get(apiUrl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user