From 283c5b905e15b6d2e534edd62f05eede2ecd5eda Mon Sep 17 00:00:00 2001 From: kplaczek Date: Sat, 28 Apr 2018 00:03:54 +0200 Subject: [PATCH] Fixed issue with selecting iocns by clicking icon next to saved note title. --- public/css/app.css | 2 +- public/js/printer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 3ab5d4a..9117651 100755 --- a/public/css/app.css +++ b/public/css/app.css @@ -37,7 +37,7 @@ form { margin: 2px; } -.icon:hover { +.icons .icon:hover { background-color: #1e90ff4d; } diff --git a/public/js/printer.js b/public/js/printer.js index 80de9c7..05e75b7 100755 --- a/public/js/printer.js +++ b/public/js/printer.js @@ -21,7 +21,7 @@ var Printer = function () { this.delete.addEventListener('click', this.confirmDelete); } - document.querySelectorAll('.icon').forEach(function (e) { + document.querySelectorAll('.icons .icon').forEach(function (e) { e.addEventListener('click', function () { selfPrinter.selectIcon(this.title); });