From c69ea808ae9a333d9808e1f193c53c39630ef4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 2 Mar 2015 21:00:01 +0100 Subject: [PATCH] launch-new-instance: Fix warning Commit 2667b9f3e58 updated the extension for a shell change that renamed _onActivate() to _activate, but forgot to also rename the declaration of the variable that stores the original function. Fix this to stop a warning about assignment to an undefined variable. https://bugzilla.gnome.org/show_bug.cgi?id=745470 --- extensions/launch-new-instance/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/launch-new-instance/extension.js b/extensions/launch-new-instance/extension.js index fd970649..07830c59 100644 --- a/extensions/launch-new-instance/extension.js +++ b/extensions/launch-new-instance/extension.js @@ -1,6 +1,6 @@ const AppDisplay = imports.ui.appDisplay; -var _onActivateOriginal = null; +let _activateOriginal = null; function init() { }