Skip to content

Commit

Permalink
Single quotation mark bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtmaxim committed Aug 3, 2017
1 parent ccdf130 commit d45babf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "EachWord Translator - expand your vocabulary",
"short_name": "EachWord Translator",
"version": "2.0.2",
"version": "2.0.3",
"description": "__MSG_description__",
"default_locale": "en",
"icons": {
Expand Down
8 changes: 4 additions & 4 deletions popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ function addWordToList(word, translation) {
let wordsBlock = document.getElementById("wordsBlock");

li = document.createElement("li");
li.innerHTML = "<a href='' class='playButton' tabindex='-1'></a>" +
"<input type='text' value='" + word + "'/>" +
"<input type='text' value='" + translation + "'/>" +
"<a href='' class='deleteButton' tabindex='-1'></a>";
li.innerHTML = '<a href="" class="playButton" tabindex="-1"></a>' +
'<input type="text" value="' + word + '"/>' +
'<input type="text" value="' + translation + '"/>' +
'<a href="" class="deleteButton" tabindex="-1"></a>';
wordsBlock.insertBefore(li, wordsBlock.firstChild);

return li;
Expand Down

0 comments on commit d45babf

Please sign in to comment.