From f4ff5ec549b05fcf3ddfec7232bd6b463a724c06 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Tue, 21 Feb 2017 22:35:17 +0100 Subject: [PATCH] removed highlighting with mouse click because of unwanted mobile/touchscreen behaviour --- ifm.php | 2 -- src/ifm.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/ifm.php b/ifm.php index b88ce4f..1486c71 100644 --- a/ifm.php +++ b/ifm.php @@ -559,8 +559,6 @@ function IFM() { $('.clickable-row').click(function(event) { if( event.ctrlKey ) { $(this).toggleClass( 'selectedItem' ); - } else { - self.highlightItem( $(this) ); } }); } diff --git a/src/ifm.js b/src/ifm.js index b7dcf16..0ff115b 100644 --- a/src/ifm.js +++ b/src/ifm.js @@ -124,8 +124,6 @@ function IFM() { $('.clickable-row').click(function(event) { if( event.ctrlKey ) { $(this).toggleClass( 'selectedItem' ); - } else { - self.highlightItem( $(this) ); } }); }