From 84c16c00ad545c639a88bba5c9c3cd1ddbdd0bd6 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 13 Mar 2017 15:53:13 +0100 Subject: [PATCH] Fix click events not working on inputs in the drive tree --- www/drive/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/drive/main.js b/www/drive/main.js index 8fc2e9de2..02ba2238d 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -345,11 +345,11 @@ define([ // since it would remove the input $input.on('mousedown', function (e) { e.stopPropagation(); - $input.parents('li').attr("draggable", false); + $input.parents('.element-row').attr("draggable", false); }); $input.on('mouseup', function (e) { e.stopPropagation(); - $input.parents('li').attr("draggable", true); + $input.parents('.element-row').attr("draggable", true); }); },0); };