diff options
| author | 2018-11-18 08:08:27 -0500 | |
|---|---|---|
| committer | 2018-11-18 14:08:27 +0100 | |
| commit | f3a88614ef4a2541ee29054124d62c0cdc78f485 (patch) | |
| tree | b0844d3db889cebf38cc2a61e4613ec418f41f57 /app/views/helpers/javascript_vars.phtml | |
| parent | 16a131380bb1ae17a18e4bf95d345cffb80a787c (diff) | |
Add shortcuts for focusing next and previous without opening articles. (#1767)
* add skipping option to toggleContent to use later for 'i' and 'o' hotkeys
* in English config j,k are now 'open' and not 'skip', i,o are called 'focus .. without opening'
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
| -rw-r--r-- | app/views/helpers/javascript_vars.phtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml index d7b3e4360..a434a04a3 100644 --- a/app/views/helpers/javascript_vars.phtml +++ b/app/views/helpers/javascript_vars.phtml @@ -26,6 +26,8 @@ echo htmlspecialchars(json_encode(array( 'go_website' => @$s['go_website'], 'prev_entry' => @$s['prev_entry'], 'next_entry' => @$s['next_entry'], + 'skip_prev_entry' => @$s['skip_prev_entry'], + 'skip_next_entry' => @$s['skip_next_entry'], 'first_entry' => @$s['first_entry'], 'last_entry' => @$s['last_entry'], 'collapse_entry' => @$s['collapse_entry'], |
