correct detect

This commit is contained in:
Andrey Kuvshinov
2020-05-21 22:26:47 +03:00
parent fa91c791f9
commit 8bdb5e8916

View File

@@ -165,7 +165,7 @@ function startpdfviewer(newcurr){
var detect = new MobileDetect(window.navigator.userAgent);
if (!detect.phone()){
if (detect.phone()){
var canv = document.createElement('canvas');
canv.id = 'the-pdf';