From d83ba315f041067a89022b706d6d1cdd00ccc4b3 Mon Sep 17 00:00:00 2001 From: hexeth <7627137+hexeth@users.noreply.github.com> Date: Fri, 18 Jan 2019 11:07:50 -0800 Subject: [PATCH] Add sendtokindle-drop to click-off array --- cps/static/js/caliBlur.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cps/static/js/caliBlur.js b/cps/static/js/caliBlur.js index 08f00931..7cfde3e9 100644 --- a/cps/static/js/caliBlur.js +++ b/cps/static/js/caliBlur.js @@ -160,7 +160,8 @@ return $(this).text().replace(/^\s+|^\t+|\t+|\s+$/g, ""); $( '' ).insertBefore( downloads[downloads.length-1] ); $( downloads ).detach(); $.each(downloads, function(i, val) { - $( '
  • ' + downloads[i].outerHTML + '
  • ' ).appendTo( '.leramslist' ); + $( '
  • ' + downloads[i].outerHTML + '
  • ' ).appendTo( '.lerams + ' ); }); $( '.leramslist' ).find( 'span' ).remove(); $( '.leramslist a' ).removeClass( 'btn btn-primary' ).removeAttr( 'role' ); @@ -292,6 +293,7 @@ $(document).mouseup(function (e) { var container = new Array(); container.push($('ul[aria-labelledby="read-in-browser"]')); container.push($('.leramslist')); + container.push($('sendtokindle-drop')); container.push($('#add-to-shelves')); container.push($('.navbar-collapse.collapse.in'));