From 39902d8998da806c833f6cc67465a869fc40f116 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Wed, 2 May 2018 14:09:55 +0200 Subject: [PALEMOON] [frontend vs backend] Places - use "let" instead of "var" for the entire function "onKeywordFieldBlur" Issue #121 --- application/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 1b9765bb4..69d7d32eb 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); -- cgit v1.2.3