From d6867aa6678757811fb9d3459861050b2dcd4538 Mon Sep 17 00:00:00 2001 From: Christopher Date: Tue, 9 Jul 2024 11:49:55 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Sebastian Meyer --- Resources/Private/JavaScript/dfgviewerScripts.js | 2 -- Resources/Private/Less/all.less | 2 +- Resources/Private/Plugins/Kitodo/Templates/PageView/Main.html | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Resources/Private/JavaScript/dfgviewerScripts.js b/Resources/Private/JavaScript/dfgviewerScripts.js index 4fdf55dca..7da62aa5f 100644 --- a/Resources/Private/JavaScript/dfgviewerScripts.js +++ b/Resources/Private/JavaScript/dfgviewerScripts.js @@ -176,8 +176,6 @@ $(document).ready(function () { $('.fwds, .backs') .on('mouseenter', function () { $(this).addClass('over').siblings('[class$=' + $(this).attr('class').split(' ')[0].slice(1) + ']').addClass('over'); - - }) .on('mouseleave', function () { $(this).removeClass('over').siblings('.measureBacks, .measureFwds').removeClass('over'); diff --git a/Resources/Private/Less/all.less b/Resources/Private/Less/all.less index c35ada139..8f0276765 100644 --- a/Resources/Private/Less/all.less +++ b/Resources/Private/Less/all.less @@ -27,4 +27,4 @@ @import "modules/score.less"; @import "modules/gridview.less"; @import "modules/sidebar.less"; -@import "modules/home.less"; \ No newline at end of file +@import "modules/home.less"; diff --git a/Resources/Private/Plugins/Kitodo/Templates/PageView/Main.html b/Resources/Private/Plugins/Kitodo/Templates/PageView/Main.html index 99efded82..2632c52ab 100644 --- a/Resources/Private/Plugins/Kitodo/Templates/PageView/Main.html +++ b/Resources/Private/Plugins/Kitodo/Templates/PageView/Main.html @@ -1,5 +1,5 @@ -