Open BraisDosGoros opened 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?
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?