Przeglądaj źródła

test: remove one more jQuery call

rugk 4 miesięcy temu
rodzic
commit
045a356c09
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      js/privatebin.js

+ 1 - 1
js/privatebin.js

@@ -5755,7 +5755,7 @@ window.PrivateBin = (function () {
          * @function
          */
         me.init = function () {
-            const revealButton = $('.toggle-password');
+            const revealButton = document.querySelector('.toggle-password');
 
             revealButton.click(handleRevealButtonClick);
         };