diff --git a/lib/main.js b/lib/main.js index 9466cc4..17adfa3 100644 --- a/lib/main.js +++ b/lib/main.js @@ -17,5 +17,4 @@ function handleClick(state) { var selection = require("sdk/selection"); var note = tabs.activeTab.url + (selection.text != undefined ? "\n" + selection.text : ""); tabs.open('omnifocus:///add?name=' + encodeURIComponent(name) + '¬e=' + encodeURIComponent(note)); - tabs.activeTab.close(); -} \ No newline at end of file +}