summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loleaflet/src/control/Control.Toolbar.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index 7eb1d3ea4..f49b3841e 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -167,20 +167,10 @@ function onClick(e, id, item, subItem) {
map._socket.sendMessage('commandvalues command=.uno:DocumentRepair');
}
else if (id === 'zoomin' && map.getZoom() < map.getMaxZoom()) {
- if (map.getDocType() === 'spreadsheet') {
- map.setZoom(14); // 200%
- }
- else {
- map.zoomIn(1);
- }
+ map.zoomIn(1);
}
else if (id === 'zoomout' && map.getZoom() > map.getMinZoom()) {
- if (map.getDocType() === 'spreadsheet') {
- map.setZoom(10); // 100%
- }
- else {
- map.zoomOut(1);
- }
+ map.zoomOut(1);
}
else if (item.scale) {
map.setZoom(item.scale);