aboutsummaryrefslogtreecommitdiffstats
path: root/static/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/index.js b/static/index.js
index 2a1835c..ea68d2b 100644
--- a/static/index.js
+++ b/static/index.js
@@ -504,18 +504,18 @@ function bind_trash_events() {
trash.classList.add('droppable');
trash.addEventListener('dragenter', (evt) => {
evt.preventDefault();
- evt.target.src = 'trash_bin_open.png';
+ evt.target.src = '/static/img/trash-2.svg';
});
trash.addEventListener('dragexit', (evt) => {
evt.preventDefault();
- evt.target.src = 'trash_bin.png';
+ evt.target.src = '/static/img/trash.svg';
});
trash.addEventListener('dragover', (evt) => {
evt.preventDefault();
});
trash.addEventListener('drop', (evt) => {
evt.preventDefault();
- evt.target.src = 'trash_bin.png';
+ evt.target.src = '/static/img/trash.svg';
if (dragged_image) {
let dragged_image_parent = dragged_image.parentNode;
if (dragged_image_parent.tagName.toUpperCase() === 'SPAN' &&
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage