diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-16 21:11:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-16 21:11:32 +0300 |
commit | 78a62a7c7a773041dcb4fc733534c03c0be4c067 (patch) | |
tree | 9f933e98cc17c1c9b668428c2c4250f7f6b3ddc6 /app/assets/javascripts/autosave.js | |
parent | 49769473ab2fc0471853ada294c2f9a66f25f048 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/autosave.js')
-rw-r--r-- | app/assets/javascripts/autosave.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/autosave.js b/app/assets/javascripts/autosave.js index 0a05e0d44ce..8381dcec9c3 100644 --- a/app/assets/javascripts/autosave.js +++ b/app/assets/javascripts/autosave.js @@ -6,7 +6,7 @@ export default class Autosave { constructor(field, key, fallbackKey, lockVersion) { this.field = field; - this.isLocalStorageAvailable = AccessorUtilities.isLocalStorageAccessSafe(); + this.isLocalStorageAvailable = AccessorUtilities.canUseLocalStorage(); if (key.join != null) { key = key.join('/'); } |