From ae85e434c2d5fd459112d0d3b17f759e63806514 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 May 2016 15:03:38 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 16400: Reintroduce the floating class Content-Type: text/plain; charset="utf-8" Signed-off-by: Owen Leonard --- 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