var mobileCheck = PDFTron.WebViewer.prototype.isMobileDevice;
PDFTron.WebViewer.prototype.isMobileDevice = function() {
if (location.search.toLowerCase().indexOf('disablemobile') === -1) {
return mobileCheck.call(this); // or add your own code here
}
return false;
};
var webViewerObj = new PDFTron.WebViewer({
type: "html5",
.......}
on a Surface Tablet with IE11 I get always the same result, PdfTron use MobileReaderControl instead of ReaderControl, where I have wrong?
Thank you
PDFTron.WebViewer.prototype.isMobileDevice = function() {
return false;
};