mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 23:16:15 +08:00
Merge pull request #1684 from aignatov-bio/ai-fix-ie-zoom-out
Remove minimum zoom size
This commit is contained in:
commit
f6c04c252e
|
@ -289,10 +289,6 @@ var FilePreviewModal = (function() {
|
|||
} else {
|
||||
newWidth = parseInt(initWidth, 10) * 0.9;
|
||||
newHeight = parseInt(initHeight, 10) * 0.9;
|
||||
if (parseInt(imageEditorWindow.dataset.minWidth, 10) > parseInt(newWidth, 10)) {
|
||||
newWidth = parseInt(imageEditorWindow.dataset.minWidth, 10);
|
||||
newHeight = parseInt(imageEditorWindow.dataset.minHeight, 10);
|
||||
}
|
||||
}
|
||||
imageEditorWindow.style.width = newWidth + 'px';
|
||||
imageEditorWindow.style.height = newHeight + 'px';
|
||||
|
|
Loading…
Reference in a new issue