From 676ff1c3df38ae0fb1f3d66e4b634a92485fdde7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 3 Aug 2012 15:37:03 +0200 Subject: [PATCH] Bug 8525: Followup Don't reset the hz scrollbar to the top Signed-off-by: Kyle M Hall Signed-off-by: Paul Poulain --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index fa81977e59..99a21b32ab 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -66,8 +66,8 @@ [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]"; q_array = query_desc.split(" "); highlightOn(); - $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ;}); - $("#highlight_toggle_off").show().click(function() {highlightOff();});[% END %][% END %] + $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;}); + $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %] [% IF ( GoogleJackets ) %] KOHA.Google.GetCoverFromIsbn([% covernewwindow %]); [% END %] -- 2.39.5