From 575e9cc773494807f56151c89057957f57e52470 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Wed, 2 May 2018 14:09:55 +0200 Subject: [PATCH] [PALEMOON] [frontend vs backend] Places - use "let" instead of "var" for the entire function "onKeywordFieldBlur" Issue #121 --- .../palemoon/components/places/content/editBookmarkOverlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/palemoon/components/places/content/editBookmarkOverlay.js b/application/palemoon/components/places/content/editBookmarkOverlay.js index 1b9765bb40..69d7d32eb5 100644 --- a/application/palemoon/components/places/content/editBookmarkOverlay.js +++ b/application/palemoon/components/places/content/editBookmarkOverlay.js @@ -613,7 +613,7 @@ var gEditItemOverlay = { let oldKeyword = this._keyword; let keyword = this._keyword = this._element("keywordField").value; if (keyword != oldKeyword) { - var txn = new PlacesEditBookmarkKeywordTransaction(this._itemId, + let txn = new PlacesEditBookmarkKeywordTransaction(this._itemId, keyword, null, oldKeyword);