mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
site: fix compatibility
This commit is contained in:
parent
a16636cafd
commit
47f2aab529
@ -11,8 +11,8 @@
|
||||
<script>
|
||||
(function() {
|
||||
function isLocalStorageNameSupported() {
|
||||
const testKey = 'test';
|
||||
const storage = window.localStorage;
|
||||
var testKey = 'test';
|
||||
var storage = window.localStorage;
|
||||
try {
|
||||
storage.setItem(testKey, '1');
|
||||
storage.removeItem(testKey);
|
||||
|
Loading…
Reference in New Issue
Block a user