Bug 1493659 - Skip the click event handler if touch event has occurred: fix eslint failure r=eslint a=eslint-fix
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 09 Oct 2018 22:04:53 +0300
changeset 492879 4b92224d68b8903df553ad03b6fb740fd6a20a11
parent 492878 c05cd826f781b811eb54db0512e4cda3f962bef0
child 492880 6fc845dd67de815c6e5c16009d0fef122da84162
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseslint, eslint-fix
bugs1493659
milestone63.0
Bug 1493659 - Skip the click event handler if touch event has occurred: fix eslint failure r=eslint a=eslint-fix
devtools/client/shared/components/menu/MenuButton.js
--- a/devtools/client/shared/components/menu/MenuButton.js
+++ b/devtools/client/shared/components/menu/MenuButton.js
@@ -233,17 +233,16 @@ class MenuButton extends PureComponent {
         this.buttonRef.style.pointerEvents = "auto";
       }
       this.state.win.removeEventListener("touchstart",
                                          this.onTouchStart,
                                          true);
     }, 0);
 
     this.state.win.addEventListener("touchstart", this.onTouchStart, true);
-
   }
 
   async onClick(e) {
     if (this.ignoreNextClick) {
       this.ignoreNextClick = false;
       return;
     }