We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7ac72 commit 4871dc0Copy full SHA for 4871dc0
src/background/KeyboardHandler.ts
@@ -3,10 +3,11 @@
3
/// <reference path="TabStateManager.ts"/>
4
5
module KeyboardHandler {
6
- var lastCalled: number;
+ var lastCalled: number = 0;
7
8
export function init(tabStates: TabStateManager) {
9
chrome.commands.onCommand.addListener(function (command: string) {
10
+ Utils.log("Received command " + command);
11
Utils.withActiveTab(function (tab: chrome.tabs.Tab) {
12
var id = tab.id;
13
0 commit comments