From 9c8c0056c3f21928aac123ba4fdc6a84d9bfbf53 Mon Sep 17 00:00:00 2001 From: Igor Ingultsov Date: Wed, 8 Jun 2011 03:01:42 +0800 Subject: [PATCH] fixed missing 'let' --- src/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.js b/src/extension.js index 6c4aed2..2c50594 100644 --- a/src/extension.js +++ b/src/extension.js @@ -172,7 +172,7 @@ WeatherMenuButton.prototype = { this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); - item = new PopupMenu.PopupMenuItem("Preferences..."); + let item = new PopupMenu.PopupMenuItem("Preferences..."); item.connect('activate', Open_Perference); this.menu.addMenuItem(item);