Browse Source

hotkey_handler: stop propagation of handled prefix/action events

Andrew Dolgov 7 years ago
parent
commit
0a79531696
1 changed files with 3 additions and 1 deletions
  1. 3 1
      js/tt-rss.js

+ 3 - 1
js/tt-rss.js

@@ -893,7 +893,8 @@ function hotkey_handler(e) {
 		cmdline.innerHTML = keychar;
 		Element.show(cmdline);
 
-		return true;
+		e.stopPropagation();
+		return false;
 	}
 
 	Element.hide(cmdline);
@@ -923,6 +924,7 @@ function hotkey_handler(e) {
 
 	if (action != null) {
 		action();
+		e.stopPropagation();
 		return false;
 	}
 }