mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(dom) storage set: rm data condition
This commit is contained in:
parent
518bcf756e
commit
204ffc351b
1 changed files with 2 additions and 2 deletions
|
|
@ -606,8 +606,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
this.set = function(pName, pData) {
|
||||
var lRet = this;
|
||||
|
||||
if (StorageAllowed && pName && pData)
|
||||
localStorage.setItem(pName,pData);
|
||||
if (StorageAllowed && pName)
|
||||
localStorage.setItem(pName, pData);
|
||||
|
||||
return lRet;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue