Advertisement
VladislavNechepaev

Untitled

Dec 21st, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const replies = jQuery('.p-desc')
  2.         replies.each((i,x) => {
  3.           if (i !== 0) {
  4.             try {
  5.               const child = jQuery(x).children('div')
  6.               JSON.parse(child.text())
  7.               child.css({
  8.                 "font-size": "14px",
  9.                 "font-family": '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'
  10.               })
  11.               child.html('Thank you! Your reply has been submitted.')
  12.             } catch(e) { null }
  13.           }
  14.         })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement