Lines Matching defs:element
31 * Decrypt and display a single password element in the page
33 * @param {jQuery} $element
36 async showClear($element, passphrase) {
37 const cipher = $element.data('crypted');
38 $element.removeClass('error');
39 $element.attr('title', '');
43 $element.find('span').text(clear);
44 $element.removeClass('crypted');
45 $element.addClass('clear');
47 $element.addClass('error');
48 $element.attr('title', LANG.plugins.encryptedpasswords.invalidKey);
58 const $element = jQuery(e.target).parent();
59 let clear = $element.find('span').text(); // get early, timer may interfere
60 const cipher = $element.data('crypted');
62 if ($element.hasClass('crypted')) {