mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 18:52:23 +01:00
Make pagesize cookie expire in 365 days instead of after closing the browser.
This commit is contained in:
@ -16,7 +16,7 @@ $(function () {
|
||||
});
|
||||
|
||||
$('.pagesize').change(function(){
|
||||
Cookies.set('pagesize', $(this).val());
|
||||
Cookies.set('pagesize', $(this).val(), { expires: 365 });
|
||||
$('.pagenum').val(1);
|
||||
getSongs();
|
||||
});
|
||||
|
||||
@ -48,7 +48,7 @@ $(function () {
|
||||
});
|
||||
|
||||
$('.pagesize').change(function(){
|
||||
Cookies.set('pagesize', $(this).val());
|
||||
Cookies.set('pagesize', $(this).val(), { expires: 365 });
|
||||
$('.pagenum').val(1);
|
||||
getSongs();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user