cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-02-11 03:34:41 +03:00
parent 10738a754b
commit 6d2da52b4e

View File

@ -846,15 +846,11 @@ var URLHistoryUIActions = actions.Actions({
dialog.close() dialog.close()
that.openURLFromHistory(path) that.openURLFromHistory(path)
}) })
.on('close', function(){ .on('close', save)
save()
})
.on('pin_button', function(evt, p, e){ .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){ .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... // handle 'O' button to browse path...
dialog.browsePath = function(p){ dialog.browsePath = function(p){