Skip to content
Code-Schnipsel Gruppen Projekte
Commit c5f08830 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: only image width wird gesetzt

Übergeordneter b07028ce
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -710,18 +710,18 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
fileData.image_width,
500
);
HeightInput.value = result.var1;
WidthInput.value = result.var2;
// es darf keine image height gesetzt
// da das Bild sonst im mobile view sich verzieht
// HeightInput.value = result.var1;
WidthInput.value = result.var2;
} else {
HeightInput.value = fileData.image_height;
WidthInput.value = fileData.image_width;
// HeightInput.value = fileData.image_height;
WidthInput.value = fileData.image_width;
}
if (!fileData.image_height) {
HeightInput.value = '';
}
// if (!fileData.image_height) {
// HeightInput.value = '';
// }
if (!fileData.image_width) {
WidthInput.value = '';
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren