Quellcode durchsuchen

Fix #1503: Correct Mozilla PDF rendering bug

Kartik Visweswaran vor 5 Jahren
Ursprung
Commit
ee58364de6
3 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 1 0
      CHANGE.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 1 - 0
CHANGE.md

@@ -23,6 +23,7 @@ Change Log: `bootstrap-fileinput`
 - (bug #1510): Lock browse button correctly when disable method is called.
 - (bug #1509): Correct zoom slideshow to show only files with zoom enabled via `showZoom`.
 - (bug #1508): Correct file caption after files are uploaded.
+- (enh #1503): Correct Mozilla PDF rendering bug.
 - (bug #1499, #1502): Correct duplicate file check error rendering.
 - (enh #1497): Better validation of progress display when `showPreview` is `false`.
 - (bug #1482): Validate `initialPreviewShowDelete` setting correctly.

+ 1 - 1
js/fileinput.js

@@ -1555,7 +1555,7 @@
                     audio: {width: '100%', height: '30px'},
                     flash: {width: '213px', height: '160px'},
                     object: {width: '213px', height: '160px'},
-                    pdf: {width: '100%', height: '160px'},
+                    pdf: {width: '100%', height: '160px', 'position': 'relative'},
                     other: {width: '213px', height: '160px'}
                 },
                 previewSettingsSmall: {

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
js/fileinput.min.js


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.