From ab13d7b891d4f983a85893bad503f7f362b3cc25 Mon Sep 17 00:00:00 2001 From: Guillermo Date: Tue, 11 Oct 2016 16:44:57 -0400 Subject: [PATCH] fix firefox issue --- src/browser/lang.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/lang.js b/src/browser/lang.js index 00a6078..d47191a 100644 --- a/src/browser/lang.js +++ b/src/browser/lang.js @@ -30,8 +30,8 @@ function fetchLanguageData(req, res, cb){ var url = req.workerOptions.langPath + langfile; var xhr = new XMLHttpRequest(); - xhr.responseType = 'arraybuffer'; xhr.open('GET', url, true); + xhr.responseType = 'arraybuffer'; xhr.onerror = e => { xhr.onprogress = xhr.onload = null cb(xhr, null)