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:
parent
c775c8436b
commit
b70971e06b
5 changed files with 92 additions and 107 deletions
10
js/jquery.masonry.min.js
vendored
Normal file
10
js/jquery.masonry.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
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');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue