From afe033a6e1ef171dc7249f673a5aafc779635f20 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 26 Sep 2017 12:10:16 -0400 Subject: [PATCH] stray semicolon fml --- lib/browser/api/menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/api/menu.js b/lib/browser/api/menu.js index 6af4f6070f42..a060ec88368c 100644 --- a/lib/browser/api/menu.js +++ b/lib/browser/api/menu.js @@ -190,7 +190,7 @@ Menu.prototype.closePopup = function (window) { } Menu.prototype.getMenuItemById = function (id) { - let items = this; + let items = this if (items instanceof Menu) items = this.items let found = items.find(item => item.id === id) || false