storage.getItem, not getItem, you scrub.

This commit is contained in:
mmcw-dev 2017-10-23 20:31:24 -04:00
parent 67f864f975
commit 8eccf05a68
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ intval._setState = function (data) {
}
intval._storeState = function () {
setItem('_state', intval._state)
storage.setItem('_state', intval._state)
.then(() => {})
.catch((err) => {
log.error('_storeState', err)