Bug 16400: Reintroduce the floating class
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 May 2016 14:03:38 +0000 (15:03 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Jun 2016 13:34:44 +0000 (13:34 +0000)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js

index fb9ffcf..f528cc9 100644 (file)
                         'position': 'fixed',
                             'top': '0'
                     });
+                    tbh.addClass("floating");
                 }
                 if (repositionMe) {
                     tbh.css({
                         'position': 'absolute',
                             'top': originalOffset
                     });
+                    tbh.removeClass("floating");
                 }
             });
         }