throw error when browser does not support data storage
This commit is contained in:
parent
63356e6b7d
commit
8df955a372
|
@ -42,6 +42,8 @@
|
||||||
type: 'error',
|
type: 'error',
|
||||||
delay: false
|
delay: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
throw new Error('You cannot use AriaNg because this browser does not support data storage.');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in a new issue