mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 23:11:27 +00:00
9 lines
211 B
JavaScript
9 lines
211 B
JavaScript
|
$(document).ready(function() {
|
||
|
|
||
|
$('.bookmark-form').submit(function(e) {
|
||
|
e.preventDefault();
|
||
|
var el = $(this);
|
||
|
var id = el.data('id');
|
||
|
var res = axios.post('/i/bookmark', {item: id});
|
||
|
});
|
||
|
});
|