mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
Fix minor JavaScript defects
This commit is contained in:
parent
08df3277df
commit
1e6942e967
12 changed files with 871 additions and 872 deletions
|
@ -23,7 +23,7 @@ if (typeof localStorage == 'undefined') {
|
|||
}
|
||||
|
||||
function getLocalStorageItem(name, defaultVal) {
|
||||
val = localStorage.getItem(name);
|
||||
var val = localStorage.getItem(name);
|
||||
if (val === null || val === undefined)
|
||||
val = defaultVal;
|
||||
return val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue