correct detect
This commit is contained in:
@@ -165,7 +165,7 @@ function startpdfviewer(newcurr){
|
|||||||
|
|
||||||
var detect = new MobileDetect(window.navigator.userAgent);
|
var detect = new MobileDetect(window.navigator.userAgent);
|
||||||
|
|
||||||
if (!detect.phone()){
|
if (detect.phone()){
|
||||||
|
|
||||||
var canv = document.createElement('canvas');
|
var canv = document.createElement('canvas');
|
||||||
canv.id = 'the-pdf';
|
canv.id = 'the-pdf';
|
||||||
|
|||||||
Reference in New Issue
Block a user