From 2b9a3e7d872540e1986a927f109f7a5e0ffc4b97 Mon Sep 17 00:00:00 2001 From: Jesse Greenberg Date: Tue, 24 Apr 2018 06:42:30 -0600 Subject: [PATCH] update blur listeners for phetsims/sun#323 --- js/JoistButton.js | 2 +- js/NavigationBarScreenButton.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/JoistButton.js b/js/JoistButton.js index 8c4873bd..d43a8bff 100644 --- a/js/JoistButton.js +++ b/js/JoistButton.js @@ -104,7 +104,7 @@ define( function( require ) { self.buttonModel.overProperty.value = true; }, blur: function() { - self.buttonModel.overProperty.value = false; + self.buttonModel.a11yBlur(); } } ); diff --git a/js/NavigationBarScreenButton.js b/js/NavigationBarScreenButton.js index 39125ee2..15c8a9c2 100644 --- a/js/NavigationBarScreenButton.js +++ b/js/NavigationBarScreenButton.js @@ -114,7 +114,7 @@ define( function( require ) { self.buttonModel.overProperty.value = true; }, blur: function() { - self.buttonModel.overProperty.value = false; + self.buttonModel.a11yBlur(); } } );