Call close_current on tabs

issue10865
review383331002
This commit is contained in:
Cédric Krier committed 2021-10-21 00:22:12 +02:00
1 parent 188b1448e9
commit 76d85da22a
1 file changed
+1 -1
+1 -1
View File
@@ -2028,7 +2028,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') {