View | Details | Raw Unified | Return to bug 30136
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-1 / +9 lines)
Lines 218-223 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
218
    });
218
    });
219
219
220
    $("body").append('<button id="backtotop" class="btn btn-primary"><i class="fa fa-arrow-up"></i></button>');
220
    $("body").append('<button id="backtotop" class="btn btn-primary"><i class="fa fa-arrow-up"></i></button>');
221
    $("#backtotop").css({
222
        "display": "inline-block",
223
        "text-align": "center",
224
        "font-size": "120%",
225
        "position": "fixed",
226
        "bottom": "40px",
227
        "right": "40px",
228
        "z-index": "1000"
229
    });
221
    $("#backtotop").hide();
230
    $("#backtotop").hide();
222
    $(window).scroll(function(){
231
    $(window).scroll(function(){
223
        if ( $(window).scrollTop() < 300 ) {
232
        if ( $(window).scrollTop() < 300 ) {
224
- 

Return to bug 30136