Skip to content

Fix syntax error introduced in copy_code.js

Dheeraj Joshi requested to merge djadmin-fix-copy-code-btn into master

What does this MR do and why?

I introduced a syntax error while fixing another bug in !77935 (merged). It's because jquery function was used instead of vanilla JS 🙈

Thankfully, it doesn't break any feature but throws some console errors which should be fixed by this MR.

Screenshots or screen recordings

before after
image No errors with this change

How to set up and validate locally

  1. Create or visit an issue with markdown content
  2. Check for console errors

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Dheeraj Joshi

Merge request reports

Loading