From f11eee313e57c817717f8cd1e70bc324aa08dff6 Mon Sep 17 00:00:00 2001 From: teymour-aldridge Date: Wed, 14 Oct 2020 19:04:54 +0100 Subject: [PATCH] Remove some more unused variable assignments --- modules/ui/shortcuts.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/ui/shortcuts.js b/modules/ui/shortcuts.js index c1edf6239..4d0088dca 100644 --- a/modules/ui/shortcuts.js +++ b/modules/ui/shortcuts.js @@ -74,8 +74,7 @@ export function uiShortcuts(context) { .append('span') .html(function (d) { return t.html(d.text); }); - tabs = tabs - .merge(tabsEnter); + tabs.merge(tabsEnter); // Update wrapper.selectAll('.tab') @@ -235,8 +234,7 @@ export function uiShortcuts(context) { .html(function (d) { return d.text ? t.html(d.text) : '\u00a0'; }); - shortcuts = shortcuts - .merge(shortcutsEnter); + shortcuts.merge(shortcutsEnter); // Update wrapper.selectAll('.shortcut-tab')