Skip to content

Commit 4c8f34a

Browse files
committed
vimperator 3.8.1
2 parents 066672d + fff5039 commit 4c8f34a

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

common/content/events.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ const Events = Module("events", {
10671067

10681068
// this is need for sites like msn.com which focus the input field on keydown
10691069
onKeyUpOrDown: function (event) {
1070-
if (modes.passNextKey || modes.passAllKeys || Events.isInputElemFocused())
1070+
if (modes.passNextKey || modes.passAllKeys || modes.isMenuShown || Events.isInputElemFocused())
10711071
return;
10721072
event.stopPropagation();
10731073
},
@@ -1078,7 +1078,9 @@ const Events = Module("events", {
10781078
modes.isMenuShown = true;
10791079
},
10801080

1081-
onPopupHidden: function () {
1081+
onPopupHidden: function (event) {
1082+
if (event.originalTarget.localName == "tooltip" || event.originalTarget.id == "liberator-visualbell")
1083+
return;
10821084
// gContextMenu is set to NULL, when a context menu is closed
10831085
if ((window.gContextMenu == null || !window.gContextMenu.shouldDisplay) && !this._activeMenubar)
10841086
modes.isMenuShown = false;

common/content/finder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ const Finder = Module("finder", {
106106
* @param {string} str The string to find.
107107
* @see Bug537013 https://bugzilla.mozilla.org/show_bug.cgi?id=537013
108108
*/
109-
find: Services.vc.compare(Services.appinfo.version, "24.0") > 0 ?
109+
find: Services.vc.compare(Services.appinfo.version, "25.0") >= 0 ?
110110
function (str) {
111111
let fastFind = config.browser.getFindBar();
112112
this._processUserPattern(str);
113113
fastFind._typeAheadCaseSensitive = this._caseSensitive;
114114
fastFind._typeAheadLinksOnly = this._linksOnly;
115115
let result = fastFind._find(str);
116116
} :
117-
// FIXME: remove when minVersion > 24
117+
// FIXME: remove when minVersion >= 25
118118
function (str) {
119119
let fastFind = config.browser.fastFind;
120120

vimperator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#### configuration
22

3-
VERSION = 3.8
3+
VERSION = 3.8.1
44
NAME = vimperator
55

66
include ../common/Makefile

vimperator/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2013-11-22
2+
* version 3.8.1
3+
* Fix arrow keys in menus
4+
* change minVersion to 17.0
5+
16
2013-10-13
27
* version 3.8
38
* Many fixes for Firefox 25 (search and alternate tabs were broken)

0 commit comments

Comments
 (0)