mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Use localStorage instead of cookies
This commit is contained in:
parent
5e8c62e539
commit
740617e5ce
3 changed files with 34 additions and 24 deletions
|
@ -42,7 +42,7 @@ var dynamicTable = new Class ({
|
|||
this.cur = new Array();
|
||||
this.priority_hidden = false;
|
||||
this.progressIndex = progressIndex;
|
||||
this.filter = Cookie.read('selected_filter');
|
||||
this.filter = localStorage.getItem('selected_filter');
|
||||
if(!$defined(this.filter)) {
|
||||
this.filter = 'all';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue