1
0
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:
Hillel Coren 2016-08-09 15:22:33 +03:00
parent 713394ea8a
commit fa88c74d23
8 changed files with 111 additions and 85 deletions

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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