From 6d2da52b4e53db5067bbbc752a46fbfe4fd17a0b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 11 Feb 2017 03:34:41 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/history.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ui (gen4)/features/history.js b/ui (gen4)/features/history.js index fdb39f61..b81ed9ab 100755 --- a/ui (gen4)/features/history.js +++ b/ui (gen4)/features/history.js @@ -846,15 +846,11 @@ var URLHistoryUIActions = actions.Actions({ dialog.close() that.openURLFromHistory(path) }) - .on('close', function(){ - save() - }) + .on('close', save) .on('pin_button', function(evt, p, e){ - dialog.select(that.config['url-history-focus-on-pin'] ? p : '!') - }) + dialog.select(that.config['url-history-focus-on-pin'] ? p : '!') }) .on('to_top_button', function(evt, p, e){ - to_sort.splice(0, 0, p) - }) + to_sort.splice(0, 0, p) }) // handle 'O' button to browse path... dialog.browsePath = function(p){