mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
[B2G] UI tweak for multi-resolution devices support on B2G
This commit is contained in:
parent
869b8788ab
commit
3e480f84a6
5 changed files with 102 additions and 86 deletions
|
@ -46,7 +46,11 @@ var NetworkManager = (function NetworkManagerClosure() {
|
|||
this.httpHeaders = args.httpHeaders || {};
|
||||
this.getXhr = args.getXhr ||
|
||||
function NetworkManager_getXhr() {
|
||||
//#if B2G
|
||||
// return new XMLHttpRequest({ mozSystem: true });
|
||||
//#else
|
||||
return new XMLHttpRequest();
|
||||
//#endif
|
||||
};
|
||||
|
||||
this.currXhrId = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue