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