gomita / firegestures

FireGestures, a Firefox extension.
http://www.xuldev.org/firegestures/
Other
128 stars 30 forks source link

Hybrid gesture not working #108

Open BraisDosGoros opened 8 years ago

BraisDosGoros commented 8 years ago

Hello, first of all thanks for this excellent add-on.

I'm trying to build a new hybrid gesture that (i) goes back in the current page or (ii) closes the tab if it can't go back:

try { FireGestures._performAction(event, "Browser:Back"); } catch (ex) { FireGestures._performAction(event, "cmd_close"); }

The gesture actually goes back, but it doesn't close the tab when there's no more "back history" to go to. Am I doing anything wrong?