Klikanie na ikonkę przy tytule wpisu zaznacza ikonke szybkiego wpisu. #27

Merged
krzysiej merged 1 commits from issue-25 into master 2018-05-06 21:04:23 +02:00
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);
}); });