From 45f21d84cb7ac8d6eb694963d5679ddb9bbc5676 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 May 2016 15:03:38 +0100 Subject: [PATCH] Bug 16400: Reintroduce the floating class Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js index fb9ffcf..f528cc9 100644 --- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js +++ b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js @@ -51,12 +51,14 @@ 'position': 'fixed', 'top': '0' }); + tbh.addClass("floating"); } if (repositionMe) { tbh.css({ 'position': 'absolute', 'top': originalOffset }); + tbh.removeClass("floating"); } }); } -- 2.1.4