From a8e338fa74484a6c801fa22e8795cba233ca1bd9 Mon Sep 17 00:00:00 2001
From: chrisgarrity <chrisg@media.mit.edu>
Date: Thu, 1 Nov 2018 11:19:47 -0400
Subject: [PATCH] Replace mouseLeave with mouseOut

---
 src/containers/language-selector.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/containers/language-selector.jsx b/src/containers/language-selector.jsx
index 05fb02b74..3d123a697 100644
--- a/src/containers/language-selector.jsx
+++ b/src/containers/language-selector.jsx
@@ -12,7 +12,7 @@ class LanguageSelector extends React.Component {
         super(props);
         bindAll(this, [
             'handleChange',
-            'handleMouseLeave',
+            'handleMouseOut',
             'ref'
         ]);
         document.documentElement.lang = props.currentLocale;
@@ -25,12 +25,12 @@ class LanguageSelector extends React.Component {
         this.removeListeners();
     }
     addListeners () {
-        this.select.addEventListener('mouseleave', this.handleMouseLeave);
+        this.select.addEventListener('mouseout', this.handleMouseOut);
     }
     removeListeners () {
-        this.select.removeEventListener('mouseleave', this.handleMouseLeave);
+        this.select.removeEventListener('mouseout', this.handleMouseOut);
     }
-    handleMouseLeave () {
+    handleMouseOut () {
         this.select.blur();
     }
     ref (c) {
-- 
GitLab