@regulaforensics/idv-gui 2.5.207-nightly → 2.5.208-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.iife.js +1 -1
- package/dist/main.js +5 -1
- package/dist/main.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -4668,7 +4668,11 @@ var Aw = function(n, i) {
|
|
|
4668
4668
|
var l = new FileReader();
|
|
4669
4669
|
l.onload = function() {
|
|
4670
4670
|
var c = l.result;
|
|
4671
|
-
typeof c == "string"
|
|
4671
|
+
if (typeof c == "string") {
|
|
4672
|
+
var f = c.split(",")[1];
|
|
4673
|
+
i(f);
|
|
4674
|
+
} else
|
|
4675
|
+
a(new Error("Unexpected result type"));
|
|
4672
4676
|
}, l.onerror = function() {
|
|
4673
4677
|
return a(l.error);
|
|
4674
4678
|
}, l.readAsDataURL(n);
|