Klikanie na ikonkę przy tytule wpisu zaznacza ikonke szybkiego wpisu. #27
2
public/css/app.css
vendored
2
public/css/app.css
vendored
@@ -37,7 +37,7 @@ form {
|
|||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon:hover {
|
.icons .icon:hover {
|
||||||
background-color: #1e90ff4d;
|
background-color: #1e90ff4d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user