Skip to content

Commit

Permalink
Fixed magnifier (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjchirag7 authored Apr 2, 2020
1 parent 764b556 commit d80dfd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/toolbar/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,9 @@ CaToolbar.prototype.__createDropDown = function(options) {

// binding event
if (options.callback) {
chk.addEventListener('click', getStatus.bind(this));
chk.addEventListener('change', getStatus.bind(this));
lists.forEach((radio) =>
radio.addEventListener('click', (e) => {
radio.addEventListener('change', (e) => {
chk.checked = true;
getStatus.call(this, e);
}),
Expand Down

0 comments on commit d80dfd5

Please sign in to comment.