mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Save torrent list sort order in local storage
This commit is contained in:
parent
b4f39add08
commit
5b604ac251
2 changed files with 13 additions and 4 deletions
|
@ -22,6 +22,13 @@ if (typeof localStorage == 'undefined') {
|
|||
}
|
||||
}
|
||||
|
||||
function getLocalStorageItem(name, defaultVal) {
|
||||
val = localStorage.getItem(name);
|
||||
if (val === null || val === undefined)
|
||||
val = defaultVal;
|
||||
return val;
|
||||
}
|
||||
|
||||
initializeWindows = function() {
|
||||
|
||||
function addClickEvent(el, fn) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue