Fixed issue with selecting iocns by clicking icon next to saved note title.

This commit is contained in:
kplaczek
2018-04-28 00:03:54 +02:00
parent de000d0403
commit 283c5b905e
2 changed files with 2 additions and 2 deletions

2
public/css/app.css vendored
View File

@@ -37,7 +37,7 @@ form {
margin: 2px; margin: 2px;
} }
.icon:hover { .icons .icon:hover {
background-color: #1e90ff4d; background-color: #1e90ff4d;
} }

View File

@@ -21,7 +21,7 @@ var Printer = function () {
this.delete.addEventListener('click', this.confirmDelete); this.delete.addEventListener('click', this.confirmDelete);
} }
document.querySelectorAll('.icon').forEach(function (e) { document.querySelectorAll('.icons .icon').forEach(function (e) {
e.addEventListener('click', function () { e.addEventListener('click', function () {
selfPrinter.selectIcon(this.title); selfPrinter.selectIcon(this.title);
}); });