[Pkg-mozext-commits] [greasemonkey] 29/62: Add comment, style clean up
David Prévot
taffit at moszumanska.debian.org
Sun Sep 13 22:10:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 924fee2e71dfd226e6652eff382eedc1c0167527
Author: janekptacijarabaci <janekptacijarabaci at users.noreply.github.com>
Date: Fri Aug 21 19:10:13 2015 +0200
Add comment, style clean up
---
content/browser.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/content/browser.js b/content/browser.js
index d3c0448..79ebdd3 100644
--- a/content/browser.js
+++ b/content/browser.js
@@ -70,7 +70,10 @@ GM_BrowserUI.openInTab = function(aMessage) {
var tabBrowser = browser.getTabBrowser();
var scriptTab = tabBrowser.getTabForBrowser(browser);
var scriptTabIsCurrentTab = scriptTab == tabBrowser.mCurrentTab;
- GM_util.timeout(function() {
+ // See #2107 and #2234
+ // Tabs created by GM_openInTab don't end up in the "last closed tabs lists" when closed
+ // Tabs opened with GM_openInTab can not be closed
+ GM_util.timeout(function () {
var newTab = tabBrowser.addTab(
aMessage.data.url,
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list