Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
refactor(): type save comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Oberwasserlechner committed Feb 27, 2019
1 parent 9f9f0ec commit f9f1df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/VAADIN/chartjs/chartjs-connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ window.com_byteowls_vaadin_chartjs_ChartJs = function() {
this.menuTitle.appendChild(menuTitleCaption);
// toggle state on click on the button
this.menuButton.onclick = function() {
self.setMenuOpenState(self.menuPopup.style.display == 'none');
}
self.setMenuOpenState(self.menuPopup.style.display === 'none');
};
// close the menu if the user clicked somewhere outside the menu
document.addEventListener('click', this.documentClickListener);

Expand Down

0 comments on commit f9f1df3

Please sign in to comment.