1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 17:25:16 +03:00

avoid highlighting items in the Post Flight Statistics (#1536)

avoid highlighting items in the Post Flight Statistics
This commit is contained in:
Michael Keller 2019-07-16 23:22:02 +12:00 committed by GitHub
commit 4e7fd3e2dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1935,11 +1935,11 @@ OSD.GUI = {};
OSD.GUI.preview = {
onMouseEnter: function () {
if (!$(this).data('field')) { return; }
$('.field-' + $(this).data('field').index).addClass('mouseover')
$('#element-fields .field-' + $(this).data('field').index).addClass('mouseover')
},
onMouseLeave: function () {
if (!$(this).data('field')) { return; }
$('.field-' + $(this).data('field').index).removeClass('mouseover')
$('#element-fields .field-' + $(this).data('field').index).removeClass('mouseover')
},
onDragStart: function (e) {
var ev = e.originalEvent;