1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +00:00

corrections mise en page avec utilisation de jquery.masonry.js

This commit is contained in:
nicosomb 2013-04-12 11:33:34 +02:00
parent c775c8436b
commit b70971e06b
5 changed files with 92 additions and 107 deletions

10
js/jquery.masonry.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -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');
}