mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Remove minimum zoom size
This commit is contained in:
parent
7e699ce648
commit
f6ecea42cf
1 changed files with 0 additions and 4 deletions
|
@ -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