fix
This commit is contained in:
parent
c81b0eb4ee
commit
27aeb01aae
1 changed files with 1 additions and 3 deletions
|
@ -23,7 +23,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
var translateKey = id.replace(/-/g, "_");
|
||||
document.getElementById(id).innerText = chrome.i18n.getMessage(translateKey);
|
||||
});
|
||||
var translatableTitles = ["host", "goto_host", "save", "reset", "draft_remove", "piwik_url", "site_id"];
|
||||
var translatableTitles = ["host", "goto-host", "save", "reset", "draft-remove", "piwik-url", "site-id"];
|
||||
translatableTitles.forEach(function(id) {
|
||||
var translateKey = id.replace("-", "_") + "_title";
|
||||
document.getElementById(id).setAttribute('title', chrome.i18n.getMessage(translateKey));
|
||||
|
@ -77,7 +77,6 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
/**
|
||||
* Create 'hosts select'
|
||||
*/
|
||||
console.warn(items);
|
||||
|
||||
|
||||
chrome.storage.sync.get("hosts", function(items) {
|
||||
|
@ -220,7 +219,6 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
// Default value for source
|
||||
|
||||
data.source = popup.decodeDataUrl(data.source);
|
||||
console.info(data);
|
||||
if (!data.source) {
|
||||
data.source = popup.editor.defaultValue;
|
||||
}
|
||||
|
|
Reference in a new issue