From 9a12e60b1c680eec2afb51c60b3e3b78ce1ff4d1 Mon Sep 17 00:00:00 2001 From: hexeth <7627137+hexeth@users.noreply.github.com> Date: Fri, 18 Jan 2019 11:00:55 -0800 Subject: [PATCH] Toggle for dropdown --- cps/static/js/caliBlur.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cps/static/js/caliBlur.js b/cps/static/js/caliBlur.js index 8528688f..d23a3570 100644 --- a/cps/static/js/caliBlur.js +++ b/cps/static/js/caliBlur.js @@ -200,6 +200,11 @@ return $(this).text().replace(/^\s+|^\t+|\t+|\s+$/g, ""); $('.downloadBtn' ).click( function() { $( '.leramslist' ).toggle(); }); + + $('#sendbtn2' ).click( function() { + $( '.sendtokindle-drop' ).toggle(); + }); + $('div[aria-label="Add to shelves"]' ).click( function() { $( '#add-to-shelves' ).toggle();