We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 436fca4 commit aa28ebaCopy full SHA for aa28eba
src/plots/gl3d/scene.js
@@ -34,6 +34,8 @@ var isMobile = require('is-mobile');
34
var tablet = isTablet();
35
36
function isTablet() {
37
+ if(!navigator) return false;
38
+
39
var ua;
40
// same interface as applied by is-mobile module
41
if(!ua && typeof navigator !== 'undefined') ua = navigator.userAgent;
0 commit comments