Skip to content

Commit 782efdf

Browse files
committed
[ui:cwd] change trigger event of selectAllCheckbox from mousedown/touchstart to click
1 parent 2332f25 commit 782efdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/ui/cwd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,10 +2296,10 @@ $.fn.elfindercwd = function(fm, options) {
22962296

22972297
selectAllCheckbox = selectCheckbox? $('<div class="elfinder-cwd-selectall"><input type="checkbox"/></div>')
22982298
.attr('title', fm.i18n('selectall'))
2299-
.on('touchstart mousedown click', function(e) {
2299+
.on('click', function(e) {
23002300
e.stopPropagation();
23012301
e.preventDefault();
2302-
if ($(this).data('pending') || e.type === 'click') {
2302+
if ($(this).data('pending')) {
23032303
return false;
23042304
}
23052305
selectAllCheckbox.data('pending', true);

0 commit comments

Comments
 (0)