From 7d153ce9c71a1b797c8ecfdb3a4a7fd32799d552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 21 Oct 2021 00:22:12 +0200 Subject: [PATCH] Call close_current on tabs issue10865 review383331002 (grafted from fc57ac24d2a6207495a16b107aeacd7cbef026a5) --HG-- branch : 6.0 --- src/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen.js b/src/screen.js index 691284a5a0..13736f3eb0 100644 --- a/src/screen.js +++ b/src/screen.js @@ -2026,7 +2026,7 @@ } else if (action == 'previous') { this.display_previous(); } else if (action == 'close') { - Sao.Tab.close_current(); + Sao.Tab.tabs.close_current(); } else if (action.startsWith('switch')) { this.switch_view.apply(this, action.split(' ', 3).slice(1)); } else if (action == 'reload') {