Browse Source

hotkey_handler: return true on prefix handled

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

+ 3 - 1
js/tt-rss.js

@@ -894,7 +894,9 @@ function hotkey_handler(e) {
 		Element.show(cmdline);
 
 		e.stopPropagation();
-		return false;
+
+		// returning false here literally disables ctrl-c in browser lol (because C is a valid prefix)
+		return true;
 	}
 
 	Element.hide(cmdline);