mirror of
https://github.com/misterunknown/ifm.git
synced 2025-09-01 19:52:33 +02:00
removed highlighting with mouse click because of unwanted mobile/touchscreen behaviour
This commit is contained in:
2
ifm.php
2
ifm.php
@@ -559,8 +559,6 @@ function IFM() {
|
|||||||
$('.clickable-row').click(function(event) {
|
$('.clickable-row').click(function(event) {
|
||||||
if( event.ctrlKey ) {
|
if( event.ctrlKey ) {
|
||||||
$(this).toggleClass( 'selectedItem' );
|
$(this).toggleClass( 'selectedItem' );
|
||||||
} else {
|
|
||||||
self.highlightItem( $(this) );
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@@ -124,8 +124,6 @@ function IFM() {
|
|||||||
$('.clickable-row').click(function(event) {
|
$('.clickable-row').click(function(event) {
|
||||||
if( event.ctrlKey ) {
|
if( event.ctrlKey ) {
|
||||||
$(this).toggleClass( 'selectedItem' );
|
$(this).toggleClass( 'selectedItem' );
|
||||||
} else {
|
|
||||||
self.highlightItem( $(this) );
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user