minor tweaks and fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-12 05:26:09 +03:00
parent 55a6c106ec
commit c8645d3f6f
4 changed files with 7 additions and 5 deletions

View File

@ -201,7 +201,7 @@ actions.Actions({
this.images = images.Images(d.images)
this.data = data.Data(d.data)
}],
clear: ['File|Interface/Clear viewer',
clear: ['File/Clear',
{journal: true},
function(){
//delete this.data

View File

@ -517,7 +517,9 @@ var URLHistoryUIActions = actions.Actions({
}))
// history is empty...
if(list.length == 0){
// NOTE: the length here is 1 because we need to account
// for the separator...
if(list.length == 1){
list.push([
'No history...',
{

View File

@ -234,8 +234,8 @@ module.GLOBAL_KEYBOARD2 = {
// theme...
ctrl_R: 'toggleTheme!',
ctrl_shift_R: 'toggleTheme!: "prev"',
ctrl_B: 'toggleTheme!',
ctrl_shift_B: 'toggleTheme!: "prev"',
'ctrl+-': 'darkerTheme!',
'ctrl++': 'lighterTheme!',

View File

@ -840,7 +840,7 @@ function makeKeyboardHandler(keyboard, unhandled, actions){
&& evt.preventDefault()
// call the handler...
res = actions[h.action].apply(actions, h.args)
res = actions[h.action].apply(actions, h.arguments)
if(h.stop_propagation){
res = false