Fix bug
This commit is contained in:
parent
ec255e2980
commit
b829192ed3
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue