Skip to content

Commit

Permalink
Added tooltip to delete theme button
Browse files Browse the repository at this point in the history
  • Loading branch information
aopell committed Jan 30, 2018
1 parent b3cf9e3 commit cf165dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ let modals = [
let themesList = document.getElementById("themes-list");
if (storage.themes) {
for (let t of storage.themes) {
let a = createElement("a", ["close-button"], { textContent: "×", href: "#", onclick: (event) => deleteTheme(event.target.dataset.themeName) });
let a = createElement("a", ["close-button"], { textContent: "×", href: "#", title: "Delete Theme", onclick: (event) => deleteTheme(event.target.dataset.themeName) });
a.dataset.themeName = t.name;
themesList.appendChild(createElement("h3", ["setting-description"], {}, [
a,
Expand Down

0 comments on commit cf165dd

Please sign in to comment.