1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #3408 from brendandahl/fix-multiresolution

[B2G] UI tweak for multi-resolution devices support on B2G
This commit is contained in:
Brendan Dahl 2013-06-28 10:11:18 -07:00
commit 4e831233a4
5 changed files with 94 additions and 88 deletions

View file

@ -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;