forked from wallabag/wallabag
corrections mise en page avec utilisation de jquery.masonry.js
This commit is contained in:
10
js/poche.js
10
js/poche.js
@ -6,11 +6,15 @@ function toggle_favorite(element,id) {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function toggle_archive(id) {
|
||||
$('#entry-'+id).toggle();
|
||||
/*$('#entry-'+id).toggle();*/
|
||||
$.ajax ({
|
||||
url: "process.php?action=toggle_archive",
|
||||
data:{id:id}
|
||||
});
|
||||
}
|
||||
var obj = $('#entry-'+id);
|
||||
$('#content').masonry('remove',obj);
|
||||
|
||||
$('#content').masonry('reloadItems');
|
||||
$('#content').masonry('reload');
|
||||
}
|
||||
Reference in New Issue
Block a user