Bug 1352481 - Fix a few eslint errors related to unnecessary semicolon usage and incorrect quotes (should have used double quotes for string). r=me

This commit is contained in:
Jared Wein 2017-05-26 13:46:22 -04:00
parent 6b78ec4800
commit 72128b8243

View File

@ -148,14 +148,14 @@ var gPrivacyPane = {
function setEventListener(aId, aEventType, aCallback) {
document.getElementById(aId)
.addEventListener(aEventType, aCallback.bind(gPrivacyPane));
};
}
function appendSearchKeywords(aId, keywords) {
let element = document.getElementById(aId);
let searchKeywords = element.getAttribute("searchkeywords");
searchKeywords && keywords.push(searchKeywords);
element.setAttribute("searchkeywords", keywords.join(' '));
};
element.setAttribute("searchkeywords", keywords.join(" "));
}
this._updateSanitizeSettingsButton();
this.initializeHistoryMode();