This commit is contained in:
OVSharova 2021-12-17 05:59:15 +03:00
parent ec255e2980
commit b829192ed3

View file

@ -1584,10 +1584,8 @@ define([
// zoom
$('#id-btn-zoom-in').on('click', this.api.zoomIn.bind(this.api));
$('#id-btn-zoom-out').on('click', this.api.zoomOut.bind(this.api));
/*$('#id-menu-zoom-in').on('click', this.api.zoomIn.bind(this.api));
$('#id-menu-zoom-out').on('click', this.api.zoomOut.bind(this.api));*/
$('#id-menu-zoom-in').on('click', _.bind(this.onBtnZoom, this,'down'));
$('#id-menu-zoom-out').on('click', _.bind(this.onBtnZoom, this,'up'));
$('#id-menu-zoom-in').on('click', _.bind(this.onBtnZoom, this,'up'));
$('#id-menu-zoom-out').on('click', _.bind(this.onBtnZoom, this,'down'));
this.view.btnOptions.menu.on('item:click', _.bind(this.onOptionsClick, this));
this.view.mnuZoom.on('item:click', _.bind(this.onMenuZoomClick, this));