mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Fix for images in Firefox
This commit is contained in:
parent
713394ea8a
commit
fa88c74d23
@ -87,7 +87,8 @@ elixir(function(mix) {
|
||||
mix.scripts([
|
||||
'public/js/pdf_viewer.js',
|
||||
'public/js/compatibility.js',
|
||||
'public/js/pdfmake.min.js',
|
||||
//'public/js/pdfmake.min.js',
|
||||
'public/js/pdfmake.js',
|
||||
'public/js/vfs.js'
|
||||
], 'public/pdf.built.js');
|
||||
|
||||
|
19
public/css/built.css
vendored
19
public/css/built.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
9
public/css/built.public.css
vendored
9
public/css/built.public.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -32501,10 +32501,11 @@
|
||||
|
||||
var fnTyped = {
|
||||
arraySet: function (dest, src, src_offs, len, dest_offs) {
|
||||
if (src.subarray && dest.subarray) {
|
||||
dest.set(src.subarray(src_offs, src_offs+len), dest_offs);
|
||||
return;
|
||||
}
|
||||
// https://github.com/bpampuch/pdfmake/issues/577#issuecomment-238223949
|
||||
//if (src.subarray && dest.subarray) {
|
||||
// dest.set(src.subarray(src_offs, src_offs+len), dest_offs);
|
||||
// return;
|
||||
//}
|
||||
// Fallback to ordinary array
|
||||
for(var i=0; i<len; i++) {
|
||||
dest[dest_offs + i] = src[src_offs + i];
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user