diff --git a/marietje/marietje/static/js/queue.js b/marietje/marietje/static/js/queue.js index 7ba2c1d..3fcc9e9 100644 --- a/marietje/marietje/static/js/queue.js +++ b/marietje/marietje/static/js/queue.js @@ -59,7 +59,7 @@ $(function () { }); $('.pagesize').change(function(){ - Cookies.set('pagesize', $(this).val()); + Cookies.set('pagesize', $(this).val(), { expires: 365 }); $('.pagenum').val(1); getSongs(); }); @@ -126,7 +126,7 @@ $(function () { $('#queue-time-header').click(function(){ showTimeToPlay = !showTimeToPlay; $('#queue-time-header').text(showTimeToPlay ? 'Plays In' : 'Plays At'); - Cookies.set('showtimetoplay', showTimeToPlay ? '1' : '0'); + Cookies.set('showtimetoplay', showTimeToPlay ? '1' : '0', { expires: 365 }); }); getSongs(); });