From 3ab28d5fe6a0fd05680a011ed66ff2d08cf309ad Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Wed, 8 Feb 2017 16:58:27 +0100 Subject: [PATCH] Show screen buttons when clicking action button changeset c6408fc51ada replaced navbar items with buttons, so the screen buttons must be read when the button is clicked. issue6252 review29971002 --- src/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tab.js b/src/tab.js index c65cf63993..22552850b3 100644 --- a/src/tab.js +++ b/src/tab.js @@ -430,7 +430,7 @@ }); var menu = button.find('ul[role*="menu"]'); if (menu_action[0] == 'action') { - button.find('a').click(function() { + button.click(function() { menu.find('.action_button').remove(); var buttons = screen.get_buttons(); buttons.forEach(function(button) {