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 214-219 Link Here
214
    });
214
    });
215
215
216
    $("body").append('<button id="backtotop" class="btn btn-primary"><i class="fa fa-arrow-up" aria-hidden="true"></i></button>');
216
    $("body").append('<button id="backtotop" class="btn btn-primary"><i class="fa fa-arrow-up" aria-hidden="true"></i></button>');
217
    $("#backtotop").css({
218
        "display": "inline-block",
219
        "text-align": "center",
220
        "font-size": "120%",
221
        "position": "fixed",
222
        "bottom": "40px",
223
        "right": "40px",
224
        "z-index": "1000"
225
    });
217
    $("#backtotop").hide();
226
    $("#backtotop").hide();
218
    $(window).scroll(function(){
227
    $(window).scroll(function(){
219
        if ( $(window).scrollTop() < 300 ) {
228
        if ( $(window).scrollTop() < 300 ) {
220
- 

Return to bug 30136