Commit Graph

8 Commits

Author SHA1 Message Date
Frederic Guillot
fbe69b54dc Add Postgres database support 2016-12-26 15:07:18 -05:00
Marcus Jaschen
97cdc67c1a fix: listen to keyup instead of keypress for search field activation
The `/` character is entered into the search field after activating it via
the `keypress` event. That's unexpected behaviour.

This commit fixes that by attaching the keyboard event handler to the
`keyup` event.
2016-12-15 09:38:15 +01:00
Marcus Jaschen
76a2202a20 The slash key is a well-known shortcut to open and focus the
search field in web apps, e. g. DuckDuckGo or Google Plus.

Some editors and pagers use the same shortcut (Vim, less, ...).

This commit adds an event handler for the pressed / key which
calls the `ShowSearch()` function.
2016-12-12 12:31:45 +01:00
denfil
b7e5e9cb41 Toggle mobile view menu by js 2016-11-10 16:22:48 +03:00
denfil
eed63e5c4a Set focus after opening search form 2016-09-27 18:35:48 +03:00
Mathias Kresin
48be7a1fff bring back mark as unread/mark as read & bookmark links
The links were silently dropped with commit
4c0d975532 "Make clickable icons"
without any mention in the commit message.

Based on the commit title, I would assume this is an additional
functionality and not something that replaces existing stuff.

It's annoying to move the mouse across the screen (reading text from
the left to right) to get to the mark read icon for marking an article
as read.

All changes related to the removal of the links are reverted by keeping
the clickable icons.
2016-08-04 22:06:02 +02:00
Frederic Guillot
cd01042f7d
Javascript cleanup 2016-07-30 18:21:01 -04:00
Frederic Guillot
27d094c19e
Do not use anymore Closure compiler for Javascript 2016-07-30 18:01:37 -04:00